Skip to content

Commit

Permalink
add script
Browse files Browse the repository at this point in the history
  • Loading branch information
realywithoutname committed Jan 1, 2018
1 parent 1d818bb commit f4b3e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules/
out/
test*.js

.DS_Store
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"scripts": {
"build-es2017": "git remote remove origin && git remote add origin \"[email protected]:$TRAVIS_REPO_SLUG.git\" && git fetch --quiet origin && git checkout --quiet es2017 && mkdir \"out/2017\" && cp -R img \"out/2017\" && ecmarkup --verbose spec.html out/2017/index.html && git checkout --quiet test-travis",
"build-master": "mkdir out && cp -R img out && ecmarkup --verbose spec.html out/index.html --css out/ecmarkup.css --js out/ecmarkup.js",
"build": "npm run clean && npm run build-master",
"build-docs": "mkdir docs && cp -R img docs && ecmarkup --verbose spec.html docs/index.html --css docs/ecmarkup.css --js docs/ecmarkup.js",
"build": "npm run clean && npm run build-docs",
"build-travis": "npm run clean && npm run build-master && npm run build-es2017",
"clean": "rm -rf out",
"test": "exit 0",
Expand Down

0 comments on commit f4b3e19

Please sign in to comment.