-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Simon Lammer
authored
Feb 24, 2019
1 parent
4152405
commit 7107e73
Showing
3 changed files
with
6 additions
and
6 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 |
---|---|---|
|
@@ -10,10 +10,10 @@ install: | |
- wget https://dl.google.com/closure-compiler/compiler-latest.zip -O closure-compiler.zip | ||
- unzip closure-compiler.zip -d closure-compiler | ||
script: | ||
- printf "// $VERSION - $GH_SCRIPT_URL\n$(cat script.js)" > script.js | ||
- printf "// $VERSION - $GH_SCRIPT_URL\n$(cat script.js)\n" > script.js | ||
- cat script.js | ||
- 'curl -X POST -s --data-urlencode "[email protected]" https://javascript-minifier.com/raw > minified.js' | ||
- printf "$(head -n 1 script.js)\n$(cat minified.js)" > minified.js | ||
- printf "$(head -n 1 script.js)\n$(cat minified.js)\n" > minified.js | ||
- cat minified.js | ||
- npm test | ||
before_deploy: | ||
|
@@ -37,4 +37,4 @@ deploy: | |
condition: $(git describe --tags --abbrev=0) != $VERSION | ||
cache: | ||
directories: | ||
- node_modules | ||
- node_modules |
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
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