https://github.com/coryrylan/arbor
A CLI tool to build projects across several platforms in parallel
https://github.com/coryrylan/arbor
Last synced: 3 months ago
JSON representation
A CLI tool to build projects across several platforms in parallel
- Host: GitHub
- URL: https://github.com/coryrylan/arbor
- Owner: coryrylan
- License: mit
- Created: 2018-12-07T01:05:03.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-25T06:38:30.000Z (over 8 years ago)
- Last Synced: 2026-01-01T23:19:41.028Z (7 months ago)
- Language: TypeScript
- Size: 443 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Arbor
[](https://travis-ci.org/vintage-software/arbor)
[](https://badge.fury.io/js/arbor)
A CLI tool to build projects across several platforms in parallel.

Run `npm install -g arbor` to install. Create a `arbor.json` file with specified tasks.
Run `arbor run build` command, this will run the build task of all project recursively in the directory.
Ex: `cd repos && arbor run build` builds all of the repos/projects in `repos` directory.
- `npm install && npm start` to start project
- run `npm link` to link to global `arbor` see: [https://docs.npmjs.com/cli/link](https://docs.npmjs.com/cli/link)
## Example arbor.json
``` javascript
{
"name": "My Node Project",
"tasks": {
"build": "npm run build",
"test": "npm run test"
}
}
```
``` javascript
{
"name": "My .NET Project",
"tasks": {
"build": "msbuild",
}
}
```
### Multiple projects per configuration
``` javascript
[
{
"name": "product api",
"tasks": {
"build": "msbuild /v:q",
"build--prod": "msbuild /p:configuration=release /v:q"
}
},
{
"name": "product website",
"tasks": {
"build": [
{ "status": "installing", "command": "npm install", "cwd": "./web" },
{ "status": "building", "command": "npm run build", "cwd": "./web" }
],
"build--prod": [
{ "status": "installing", "command": "npm install", "cwd": "./web" },
{ "status": "building", "command": "npm run build--prod", "cwd": "./web" }
]
}
}
]
```
