-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decaffeinate the codebase back to ES2015 natively
- Loading branch information
Showing
49 changed files
with
6,281 additions
and
75 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 |
---|---|---|
|
@@ -3,7 +3,7 @@ lib.es6/ | |
dist/ | ||
node_modules/ | ||
.idea/ | ||
test/*.js | ||
test.babel/ | ||
|
||
#OS X | ||
.DS_Store |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
SHELL := /bin/bash | ||
|
||
BUILD=$(shell git describe --always) | ||
CURDIR=$(shell pwd) | ||
|
||
# `make setup` to set up a new environment, pull dependencies, etc. | ||
.PHONY: setup | ||
setup: clean | ||
npm install | ||
npm install -g babel-cli webpack uglify-js nodeunit | ||
|
||
# `make run` to run it in debug mode. | ||
.PHONY: run | ||
run: | ||
node shell.js eg/brain | ||
|
||
# `make test` to run unit tests. | ||
.PHONY: test | ||
test: | ||
nodeunit test | ||
|
||
# `make build` to build code with Babel for older JS clients. | ||
.PHONY: build | ||
build: | ||
npm run build | ||
npm run test | ||
|
||
# `make dist` to create a distribution for npm. | ||
.PHONY: dist | ||
dist: build | ||
npm run dist | ||
|
||
# `make clean` cleans everything up. | ||
.PHONY: clean | ||
clean: | ||
npm run clean |
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.
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.
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
Oops, something went wrong.
303e466
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍👍 This is awesome @kirsle