- Initialize and manage projects easily with json blueprints
- see dependencies before installation
luarocks install pues
pues --version
- I de auto genererte readme-ene i pues blir kommandene skrevet som 'print' istedenfor print()
- Legg til melding i readme at dette er generert med pues og at for å bruke denne konfigurasjonen må en bruke pues
version
: The version this blueprint was made forsource
?: Name of zip archive located in '~/.config/pues/archives/' without extentionreadme
?: If a readme should be included- default = false
managed
?: If the project should be managed by pues- default = true
build
?: Table of shell commands (This can have "%{arg}" in it to tunnel arguments into the pues command)run
?: Table of shell commands (This can have "%{arg}" in it to tunnel arguments into the pues command)marked
?: Files where '%{name}' should be replaced with project namedependencies
?: Project dependencies- Table with name as the package manager name
command
: The command to install with the package managerpackages
: Table with the packages to be installed
- Table with name as the package manager name
{
"version": "0.0.1",
"source": "example",
"readme": true,
"managed": true,
"build": [
"tsc src/main.ts"
],
"run": [
"ts-node src/main.ts %{arg}"
],
"marked": [
"package.json"
],
"dependencies": {
"npm": {
"command": "npm install",
"packages": [
"[email protected]",
"package"
]
},
"luarocks": {
"command": "luarocks install",
"packages": [
"module 1.2-3"
]
}
}
}
- zzip.h, can be installed with 'apt install zziplib-dev', 'dnf install zziplib-devel'
- for rest see latest rockspec in rockspecs, these are installed automatically when using luarocks
luarocks make rockspecs/pues-<version>.rockspec
- Using the docker and the provided Dockerfile is recommended when testing
luarocks make rockspecs/pues-<version>.rockspec
pues --version
lua pues/main.lua --version
- This source code is subject to the terms of the GNU General Public License, version 3. License