2014-04-21 20:01:53 +00:00
|
|
|
server:
|
|
|
|
python -m SimpleHTTPServer
|
|
|
|
|
|
|
|
watch:
|
2014-04-21 20:07:14 +00:00
|
|
|
sass styles:static --watch
|
2014-04-21 20:01:53 +00:00
|
|
|
|
2014-05-01 15:21:55 +00:00
|
|
|
dist:
|
2014-05-01 15:39:56 +00:00
|
|
|
@echo clean dist
|
|
|
|
@rm -rf dist/index.html
|
|
|
|
@rm -rf dist/static
|
2014-05-01 15:21:55 +00:00
|
|
|
@echo "compile styles/*.scss"
|
|
|
|
@sass styles/base.scss static/base.css
|
|
|
|
@ruby scripts/compile.rb
|
2014-05-01 15:39:56 +00:00
|
|
|
cp -R ./static dist/static/
|
2014-05-01 15:31:56 +00:00
|
|
|
cp index.html dist/index.html
|
2014-04-21 20:01:53 +00:00
|
|
|
|
2014-05-01 15:21:55 +00:00
|
|
|
.PHONY: server watch dist
|