diff options
author | Thomas Park <thomas@thomaspark.me> | 2012-12-06 09:18:07 -0500 |
---|---|---|
committer | Thomas Park <thomas@thomaspark.me> | 2012-12-06 09:18:07 -0500 |
commit | f5951f3a55f14d7e5e1dd9acf3039c13e8c65c56 (patch) | |
tree | 0fbff4a3d75d9cc3296857dd9b3aa7e563a10af4 /swatchmaker/Makefile | |
parent | acb7ffef748c46ae7beef8f836c731868a11fe45 (diff) |
moved readme and swatchmaker to gh-pages branch
Diffstat (limited to 'swatchmaker/Makefile')
-rwxr-xr-x | swatchmaker/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/swatchmaker/Makefile b/swatchmaker/Makefile new file mode 100755 index 00000000..f4ff1332 --- /dev/null +++ b/swatchmaker/Makefile @@ -0,0 +1,28 @@ +# +# BUILD BOOTSWATCH SWATCH +# + +OUTPUT_PATH = swatch + +bootswatch: + lessc swatchmaker.less > ${OUTPUT_PATH}/bootstrap.css + lessc --compress swatchmaker.less > ${OUTPUT_PATH}/bootstrap.min.css + lessc swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.css + lessc --compress swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.min.css + +bootstrap: + -test -d bootstrap && rm -r bootstrap + curl --location -o latest_bootstrap.tar.gz https://github.com/twitter/bootstrap/tarball/master + tar -xvzf latest_bootstrap.tar.gz + mv twitter-bootstrap* bootstrap + rm latest_bootstrap.tar.gz + +default: + -test -f swatch/variables.less && rm swatch/variables.less + -test -f swatch/bootswatch.less && rm swatch/bootswatch.less + curl --location -o swatch/variables.less https://raw.github.com/twitter/bootstrap/master/less/variables.less + curl --location -o swatch/bootswatch.less https://raw.github.com/thomaspark/bootswatch/master/swatchmaker/swatch/bootswatch.less + make bootswatch + +.PHONY: bootswatch bootstrap default + |