Consul is a distributed, highly available, and data center aware solution to connect and configure applications across dynamic, distributed infrastructure.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
513 B

server:
python -m SimpleHTTPServer
watch:
sass styles:static --watch
dist:
@echo clean dist
@rm -rf dist/index.html
@rm -rf dist/static
@echo "compile styles/*.scss"
@sass styles/base.scss static/base.css
@ruby scripts/compile.rb
cp -R ./static dist/static/
cp index.html dist/index.html
sed -E -e "/ASSETS/,/\/ASSETS/ d" -ibak dist/index.html
sed -E -e "s#<\/body>#<script src=\"static/application.min.js\"></script></body>#" -ibak dist/index.html
rm dist/index.htmlbak
.PHONY: server watch dist