moves v2.3.2 to /2/
[bootswatch] / 2 / swatchmaker / Makefile
1 #
2 # BUILD BOOTSWATCH SWATCH
3 #
4
5 OUTPUT_PATH = swatch
6
7 bootswatch:
8         recess --compile swatchmaker.less > ${OUTPUT_PATH}/bootstrap.css
9         recess --compress swatchmaker.less > ${OUTPUT_PATH}/bootstrap.min.css
10         recess --compile swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.css
11         recess --compress swatchmaker-responsive.less > ${OUTPUT_PATH}/bootstrap-responsive.min.css
12
13 bootstrap:
14         -test -d bootstrap && rm -r bootstrap
15         curl --location -o bootstrap-v2.3.2.tar.gz https://github.com/twbs/bootstrap/archive/v2.3.2.tar.gz
16         tar -xvzf bootstrap-v2.3.2.tar.gz
17         mv bootstrap-2.3.2 bootstrap
18         rm bootstrap-v2.3.2.tar.gz
19
20 default:
21         -test -f ${OUTPUT_PATH}/variables.less && rm ${OUTPUT_PATH}/variables.less
22         -test -f ${OUTPUT_PATH}/bootswatch.less && rm ${OUTPUT_PATH}/bootswatch.less
23         curl --location -o ${OUTPUT_PATH}/variables.less https://raw.github.com/twbs/bootstrap/v2.3.2/less/variables.less
24         curl --location -o ${OUTPUT_PATH}/bootswatch.less https://raw.github.com/thomaspark/bootswatch/gh-pages/swatchmaker/swatch/bootswatch.less
25         make bootswatch
26
27 watcher:
28         ruby watcher.rb
29
30 server:
31         open http://localhost:8000/test/test.html
32         python -m SimpleHTTPServer
33
34 .PHONY: bootswatch bootstrap default watcher server
35