Skip to content

Commit

Permalink
tools: move build-native.js to tools
Browse files Browse the repository at this point in the history
* Move `build-native.js` to `tools/`
* Update the NPM scripts
* Make `tools/build-native.js` executable

PR-URL: #89
  • Loading branch information
aqrln authored and belochub committed Jan 22, 2018
1 parent e7b5b8b commit f26cbb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@
"lint": "eslint . && remark .",
"install": "npm run rebuild-node",
"build": "npm run build-node && npm run build-browser",
"build-node": "node build-native",
"rebuild-node": "node build-native --rebuild",
"build-node": "node tools/build-native",
"rebuild-node": "node tools/build-native --rebuild",
"build-browser": "webpack --progress --colors",
"prepublish": "npm run build-browser",
"pretest": "npm run build-node"
Expand Down
2 changes: 2 additions & 0 deletions build-native.js → tools/build-native.js
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env node

'use strict';

const fs = require('fs');
Expand Down

0 comments on commit f26cbb3

Please sign in to comment.