Skip to content

Commit

Permalink
0.0.1-beta.0 release (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
boxci committed Oct 9, 2019
1 parent c89489a commit bb57398
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
test
.vscode
tsconfig.json
webpack.config.js
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,39 @@

This is the open-source [Box CI](https://boxci.dev) CLI

Use it to run your builds:
This is how your build machines talk to the Box CI service. It acts as a wrapper around your existing build commands, and talks to Box CI to create a build run and stream logs there.

It's open source so you know exactly what is running on your machines.

---
**Install**

As a global package with `npm`

> npm i -g boxci

Or build from source

> npm run build
> npm link

---
**Usage**

Print documentation

> boxci

Run a build

> boxci 'your build command' [Options]

> *Note*
>
> The string in `'your build command'` is just your existing build command.
>
> *e.g* `'sh ./build.sh'`, `'make app'`, `'npm test && npm run build'`, etc.
---

### Options
Expand Down Expand Up @@ -42,7 +71,7 @@ Use it to run your builds:
for convenience if you don't wish to see the ouput in the
terminal when you run boxci.
boxci` has no control over the output of your build commands.
boxci has no control over the output of your build commands.
If you want to silence some or all of their output,
you have to configure the commands appropriately.
Expand All @@ -54,7 +83,7 @@ Use it to run your builds:
you will have to configure them appropriately.
--no-spinners Do not show spinners in boxci messaging.
--no-spinners Do not show spinners in boxci messaging.
-ns
As above, this does not affect output from your build commands.
[false] If you want to stop your build commands showing spinners,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"typecheck": "sh ./scripts/typecheck.sh",
"test": "sh ./test/run-tests.sh",
"integration-test": "sh ./test/integration-test.sh",
"build": "npx --no-install webpack --config ./webpack.config.js --mode production"
"build": "npx --no-install webpack --config ./webpack.config.js --mode production",
"prepublishOnly": "npm run build"
},
"dependencies": {
"@types/body-parser": "1.17.0",
Expand Down

0 comments on commit bb57398

Please sign in to comment.