diff options
author | Thomas Park <thomas@thomaspark.me> | 2013-08-06 15:15:37 -0400 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2013-08-06 15:15:37 -0400 |
commit | 55f9c2cec0e48dc5190a1f81f297e469c2d5015b (patch) | |
tree | c6c9730b102c7d1239cf143c0ffd9d9de6a8d088 /2/swatchmaker/Makefile | |
parent | a25e04ec97d3d08fb722a167f07150d9af9f1229 (diff) |
moves v2.3.2 to /2/
Diffstat (limited to '2/swatchmaker/Makefile')
-rwxr-xr-x | 2/swatchmaker/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/2/swatchmaker/Makefile b/2/swatchmaker/Makefile new file mode 100755 index 00000000..9a65fa74 --- /dev/null +++ b/2/swatchmaker/Makefile @@ -0,0 +1,35 @@ +# +# BUILD BOOTSWATCH SWATCH +# + +OUTPUT_PATH = swatch + +bootswatch: + recess --compile swatchmaker.less > ${OUTPUT_PATH}/bootstrap.css + recess --compress swatchmaker.less > ${OUTPUT_PATH}/bootstrap.min.css + recess --compile swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.css + recess --compress swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.min.css + +bootstrap: + -test -d bootstrap && rm -r bootstrap + curl --location -o bootstrap-v2.3.2.tar.gz https://github.com/twbs/bootstrap/archive/v2.3.2.tar.gz + tar -xvzf bootstrap-v2.3.2.tar.gz + mv bootstrap-2.3.2 bootstrap + rm bootstrap-v2.3.2.tar.gz + +default: + -test -f ${OUTPUT_PATH}/variables.less && rm ${OUTPUT_PATH}/variables.less + -test -f ${OUTPUT_PATH}/bootswatch.less && rm ${OUTPUT_PATH}/bootswatch.less + curl --location -o ${OUTPUT_PATH}/variables.less https://raw.github.com/twbs/bootstrap/v2.3.2/less/variables.less + curl --location -o ${OUTPUT_PATH}/bootswatch.less https://raw.github.com/thomaspark/bootswatch/gh-pages/swatchmaker/swatch/bootswatch.less + make bootswatch + +watcher: + ruby watcher.rb + +server: + open http://localhost:8000/test/test.html + python -m SimpleHTTPServer + +.PHONY: bootswatch bootstrap default watcher server + |