- Joined
- Jun 23, 2007
- Messages
- 4,066
Pre-release.
This is an application which can download and cache vJASS libraries. It reads all the vJASS libraries in your map, checks the requirements, and inserts the ones you don't already have declared. This allows you to use code without having to manually search for it online.
For example, if you want to use TimerUtils, you can just add it as a requirement to a library, and the tool will make sure the map has it.
Even if you are requiring a library which also has (multiple) dependencies, the package manager will include those too.
For example:
It works by checking an online repository for the library. You can create accounts and upload your own code to the repository.
You can view the libraries currently uploaded to the repository here: http://185.92.220.118/jassrepo/api/list.php
Command Line Usage
Works off of local package.json file.
jpm version list Table
jpm version default Table 3.0
and from then are you are using Vexorian's Table. If you want to switch back:
jpm version default Table 4.1.0
Much more information will be included when I actually release this and the source code.
Download with JNGP Integration
This is an application which can download and cache vJASS libraries. It reads all the vJASS libraries in your map, checks the requirements, and inserts the ones you don't already have declared. This allows you to use code without having to manually search for it online.
For example, if you want to use TimerUtils, you can just add it as a requirement to a library, and the tool will make sure the map has it.
JASS:
library Example requires TimerUtils
endlibrary
For example:
library Example requires TextSplat2
, TextSplat2 requires libraries which also require libraries. They are all included by simply requiring TextSplat2.It works by checking an online repository for the library. You can create accounts and upload your own code to the repository.
You can view the libraries currently uploaded to the repository here: http://185.92.220.118/jassrepo/api/list.php
Command Line Usage
Works off of local package.json file.
- jpm adduser - Creates a new account (asks email/password ect..)
- jpm login - Stores login session
- jpm init - Generate new package.json
- jpm publish - Publish library
- jpm update - Update library
- jpm delete <name> - Delete library
- jpm parsemap <mapfile> - Add vjass library dependencies to map
- jpm version list <library> - Lists all available versions a library has
- jpm version default <library> <version> - Sets the preferred library version to use
jpm version list Table
jpm version default Table 3.0
and from then are you are using Vexorian's Table. If you want to switch back:
jpm version default Table 4.1.0
Much more information will be included when I actually release this and the source code.
Download with JNGP Integration
Attachments
Last edited: