-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
Showing
3 changed files
with
6 additions
and
37 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
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 |
---|---|---|
|
@@ -4,9 +4,7 @@ | |
creates a highly compressed release build in bin of the contents of src | ||
packages used: | ||
npm i rimraf compress-images web-resource-inliner ncp [email protected] concat ycssmin terser gzipper html-minifier-terser glob@8 | ||
(see DEVELOPMENT.md for information on how to use this script/how to set it up) | ||
*/ | ||
|
||
const fs = require("fs"); | ||
|
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,41 +1,12 @@ | ||
Ok keeping track of what I do to get puzzlescript building on windows. | ||
Ok keeping track of what I do to get puzzlescript building on windows. (I haven't done this in a while from scratch, it might be out of date) | ||
|
||
1 - sync to github repo | ||
2 - try opening the folder in vs code | ||
3 - realize that the build scripts rely on the folder being called src and there being a parallel bin directory | ||
*4 - move everything to a src directory in the github structure (probably breaking things on mac) | ||
*5 - edited the ..gitignore file to take this into account | ||
6 - try to run the non-compiled version (src/editor.html). Oh I can just run it in edge. Also chrome. Also firefox. (Much easier than on mac, where you need a http server). | ||
|
||
|
||
what external tools does my bash script need? | ||
|
||
images/minimize needs pngcrush | ||
https://www.npmjs.com/package/pngcrush | ||
|
||
css/concat uses concat | ||
https://www.npmjs.com/package/concat | ||
|
||
closure.jar | ||
https://www.npmjs.com/package/google-closure-compiler | ||
|
||
yuicompressor-2.4.8.jar | ||
https://www.npmjs.com/package/ycssmin | ||
|
||
htmlcompressor-1.5.3.jar | ||
https://www.npmjs.com/package/html-minifier-terser | ||
|
||
gzipper needs perl, lol | ||
gzipper | ||
https://www.npmjs.com/package/tar | ||
|
||
inliner | ||
https://www.npmjs.com/package/inliner | ||
|
||
directory cp = ncp | ||
|
||
7 - install npm packages I'll probably need: | ||
npm i tar html-minifier-terser ycssmin google-closure-compiler concat imagemin imagemin-pngcrush inliner ncp | ||
|
||
7 - install packages | ||
> npm install | ||
|
||
|