/apm

APM: Agnostic Package Manager

Primary LanguageLua

Getting Started

APM uses Pluto (a fork of Lua) as the configuration format.

  1. Be sure to install Pluto, if you haven't already.
  2. Create a deps.pluto file in your project.
  3. 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.