The multi-platform multi-language build tool.
$ npx verace -p verace.js create-exe
$ npx verace -p verace.js run-exe
$ npx verace -p verace.js build-exe
When working on different projects, differences in build procedure can sometimes arise due. Verace.js aims to centralise build procedures. By implementing standardisation, bugs are more easily found and dealt with. This project was originally written for two specific projects, but then it was expanded outwards in scope an generalised.
Add a compiled stand-alone binary from releases to your local path $PATH
#zshrc
...
export VERACE="/path/to/verace"
export PATH="$PATH:VERACE_DIR"
...
$ npm i verace.js -g
npx
It is also possible to use npx
to avoid a permanent install:
$ npx verace.js
Note
All commands assume a permanent system binary is installed. Ifnpx
is used instead. Replace all mentions ofverace
withnpx verace -p verace.js
The-p verace.js
is needed because this package exposes multiple binaries.
Two examples corresponding to the output of running $ verace create-exe
:
$ verace
Setting up execution instance. ID: 20ld183
────────────────────────────────────────────────────────────────────────────────
_
__ __ ___ _ __ __ _ ___ ___ (_) ___
\ \ / // _ \| '__|/ _` | / __|/ _ \ | |/ __|
\ V /| __/| | | (_| || (__| __/ _ | |\__ \
\_/ \___||_| \__,_| \___|\___|(_)_/ ||___/
|__/
The multi-platform, multi-language build tool
v0.3.1
Usage: verace [options] [command]
The Verace.js CLI Toolchain
Options:
-V, --version output the version number
-p --path <path> Path to verace config file.
-v --verbose Provides verbose logs
-h, --help display help for command
Commands:
help Shows this message
create-exe Creates an executable.
build-exe [options] Builds the project according to the verace config file
run-exe [arguments...] Runs the current project
version Manage package versions
Purging execution instance. ID: 20ld183
Verace.js CLI exited without errors.
-p, --path <path>
Set this to the path to the [ verace config ] file for operations on projects that are not in the current directory.
-v --verbose
Outputs verbose messages about the build. Spelling errors are to be expected in places.
-V --version
Outputs the version number and exits
create-exe
Creates a new project with a dialog.
-p --path <path>
Can either be set to a folder, or a verace config file. If the folder does not exist, it will be automatically created.
build-exe
Build the project.
--noHooks
Disables the running of [ build hooks ]
--skipPkg
Skips the packageing step used when building typescript projects. [ See more ]
run-exe
Runs the current project without creating a permanent build.
version
Verace.js uses semver
versioning to manage individual project versions. The version is stored in the version
field of [ verace config
], and passed to each program in its [ environment data ]. It can be managed with: