Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #14 from inthepocket/release/3.0.0
Browse files Browse the repository at this point in the history
Release: 3.0.0
  • Loading branch information
thibmaek authored Jan 25, 2019
2 parents 0c6c6d0 + c585f0f commit 30c1835
Show file tree
Hide file tree
Showing 28 changed files with 5,746 additions and 2,104 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Required on all code changes
* @thibmaek
26 changes: 13 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
matrix:
include:
# Javascript checks
- language: node_js
node_js:
- "8"
script:
- npm run lint
- npm test

# Shell checks
- language: shell
sudo: false
script:
- shellcheck sketchtool.sh hubble.sh
- language: node_js
node_js:
- '8'
script:
- npm run lint
- npm test
- language: shell
sudo: false
script:
- shellcheck sketchtool.sh hubble.sh
notifications:
slack:
secure: jCXaJgotbSFaJ4ID5XMdFIrmJoSOSyB1QE+WD3iW+qE67kEqBkreFGdeeP5gK9AEPMO/HkIdpQqpY3fp6JRpJEK/y54+zburrUaJFH3FHvOzgb3LPek1MAi7JsP1C9JXqG9LDt5f/EvE8LZln8eEA3ryL9gSLQ38AwRGw97qmmNd2jHmiPL3ELHd7Z67zIHGLyt44kbrQtjNgrN0bIgz1jTvY3Yulm3a7dzTn4xwK3ImLEYtmBJLqqoLprvlEY9ld7hPmQ6oy+GJgSqjrQl9iIwcygZzJtZVWko9Kjx9w4Y4q89Qv8X32GlGnf7WJef+/Dui2EaPrv/aNd5bbSAX7xrsiA+9n3um5CI1G3iiB/Rz9meoXYs4h6cPGqn6IoO7LHdzyyLATSlOLCZHSN+om7tNPgKAA6h3YyJsHLDxeJi8X0n+MnxpzD218XY+zpc6E39tiKYJ87bVYBCEDaUdHU/rDRqgh/pKcNJLrEa5erYbHtZw0BmfaUg+QkI3bv/BOEhvDybUdtIvF0bo9Nb9wD1TWTA4av/DcTvehFCOZCce/pTjFqGCKztwGNkX+PGp/R0of2Xod1RbYbANG/QnJo8Vm4kAAkFEuKxDhvpIPMlrXU/egkEXWTHploe9KnzUvZ0pGSlXhTURsg//3Kw2RarYBj+TYJqCNTKzgJn9z1U=
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,29 @@ Advised is to add a npm run task for this:
}
```

# Development

## Building the binary

hubble-scripts has to option to compile down to a binary that can be used on 64-bit macOS systems. This functionality is provided so it can be used in other native applications or systems where the Node.js runtime is not available.
Since Node provides no option to build a binary and relies on the runtime itself, we are using `zeit/pkg` to do this for us. The only downside is that the binary is large in size.

> Important!: before building, make sure you bump the version in package.json if required since it will compile down with the binary and the --version flag on the binary uses this file to return version output.
```console
# Verify that your version is correct first
$ grep "version" package.json
> "version": "3.0.0",

# Build the application down to a binary in the bin folder
$ npm run build
> pkg cli.js -t node8-macos-x64 --output ./bin/hubble-cli

# Verify it's ok
$ bin/hubble-cli --version
> 3.0.0
```

# Testing

This project uses [jest](https://jestjs.io/) to run tests. You can trigger the tests with `npm test`.
Expand Down
Loading

0 comments on commit 30c1835

Please sign in to comment.