view Makefile @ 82:9afe4a1dbd1e

Refactoring of core wiki classes: - Use proper classes instead of dictionaries more often. - Simplified `Page`'s public API. - Page meta property values are now always stored in an array, even if there's only one occurence for the given key. - Updated unit-tests.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 19 Mar 2013 19:54:11 -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