Skip to content

PlutoLang/apm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.