view Makefile @ 89:b03f083c3a29

Lots of HTML/JS/Less changes: - more semantic and simple markup, no useless grid. - simpler colour schemes (TODO: colours are ugly, tune them). - better error handling in Backbone views. - fixed some view bugs. - changed new/modified page alert to a ribbon with tooltip.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 06 Apr 2013 18:07:31 -0700
parents 97efd73f2158
children
line wrap: on
line source


WIKKED_LESS 	= ./static/css/wikked.less
WIKKED_CSS 		= ./static/css/wikked.min.css
REQUIREJS_BUILD = ./static/.rbuild.js

DATE=$(shell date +%I:%M%p)
CHECK=\033[32m✔\033[39m

build:
	@echo ""
	@echo "Building Wikked..."
	@echo ""
	@recess --compile --compress ${WIKKED_LESS} > ${WIKKED_CSS}
	@echo "Compiling LESS stylesheets...       ${CHECK} Done"
	@r.js -o ${REQUIREJS_BUILD}
	@echo "Compiling Javascript code...        ${CHECK} Done"
	@echo ""
	@echo "Successfully compiled Wikked."
	@echo ""

clean:
	rm ${WIKKED_CSS}

watch:
	recess ${WIKKED_LESS}:${WIKKED_CSS} --watch