APM uses Pluto (a fork of Lua) as the configuration format.
- Be sure to install Pluto, if you haven't already.
- Create a
deps.pluto
file in your project. - Insert the following:
;(require"http".request"//use.agnostic.pm"|>load)()
Now you can describe your dependencies, which can be as simple as this:
git "https://github.com/PlutoLang/pluto-websocket"
from "websocket.pluto" to "lib/websocket.pluto"
But you can also restrict the version and use wildcards:
git "https://github.com/calamity-inc/warframe-public-export-plus"
version "^0.5"
from "*.json" to "data/*.json"
To install and update your dependencies, simply run the deps.pluto
script, which can be done by entering pluto deps.pluto
into a command prompt, or using the build system editor integration, if supported.