-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add node 0.10, 0.12, 4 to travis - add `make build` and `npm run build` - rename src files to `src` instead of `lib`
- Loading branch information
Showing
18 changed files
with
24 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/ | ||
npm-debug.log | ||
out/ | ||
lib/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,6 @@ script: | |
npm install && npm test | ||
node_js: | ||
- 6 | ||
- 4 | ||
- 0.12 | ||
- 0.10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,23 @@ | ||
PATH := node_modules/.bin:$(PATH) | ||
|
||
SRC_FILES= | ||
SRC_FILES+= lib/*.js | ||
SRC_FILES+= lib/**/*.js | ||
SRC_FILES+= lib/**/**/*.js | ||
SRC_FILES+= lib/**/**/**/*.js | ||
SRC_FILES+= src/*.js | ||
SRC_FILES+= src/**/*.js | ||
SRC_FILES+= src/**/**/*.js | ||
SRC_FILES+= src/**/**/**/*.js | ||
|
||
SRC_FILES+= bin/gyp | ||
SRC_FILES+= test/*.js | ||
SRC_FILES+= test/**/*.js | ||
SRC_FILES+= test/**/**/*.js | ||
|
||
build: | ||
babel src -d lib | ||
|
||
lint: | ||
eslint $(SRC_FILES) | ||
|
||
format: | ||
eslint --fix $(SRC_FILES) | ||
|
||
.PHONY: lint format | ||
.PHONY: build lint format |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
#!/usr/bin/env node | ||
const gyp = require('../'); | ||
var gyp = require('../'); | ||
|
||
// TEMPORARY MEASURE | ||
process.stdout._handle.setBlocking(true); | ||
const code = gyp.main(process.argv.slice(1)); | ||
var code = gyp.main(process.argv.slice(1)); | ||
process.exit(code); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.