mirror of
https://github.com/0x5eal/rbxts-pako.git
synced 2025-08-26 03:17:10 +01:00
Support non-bash shells in "make browserify"
This fixes "-n" to do what it's supposed to do instead of printing a literal "-n" to the file in OS X. http://stackoverflow.com/a/25840639/14431
This commit is contained in:
parent
78603f42fc
commit
585aea34e0
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -45,13 +45,13 @@ browserify:
|
||||||
rm -rf ./dist
|
rm -rf ./dist
|
||||||
mkdir dist
|
mkdir dist
|
||||||
# Browserify
|
# Browserify
|
||||||
( echo -n "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
( printf %s "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
||||||
./node_modules/.bin/browserify -r ./ -s pako \
|
./node_modules/.bin/browserify -r ./ -s pako \
|
||||||
) > dist/pako.js
|
) > dist/pako.js
|
||||||
( echo -n "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
( printf %s "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
||||||
./node_modules/.bin/browserify -r ./lib/deflate.js -s pako \
|
./node_modules/.bin/browserify -r ./lib/deflate.js -s pako \
|
||||||
) > dist/pako_deflate.js
|
) > dist/pako_deflate.js
|
||||||
( echo -n "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
( printf %s "/* ${NPM_PACKAGE} ${NPM_VERSION} ${GITHUB_PROJ} */" ; \
|
||||||
./node_modules/.bin/browserify -r ./lib/inflate.js -s pako \
|
./node_modules/.bin/browserify -r ./lib/inflate.js -s pako \
|
||||||
) > dist/pako_inflate.js
|
) > dist/pako_inflate.js
|
||||||
# Minify
|
# Minify
|
||||||
|
|
Loading…
Add table
Reference in a new issue