annotate Makefile @ 80:91c5ea6e9027

Removed commented code.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 27 Feb 2013 22:13:42 -0800
parents 97efd73f2158
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 WIKKED_LESS = ./static/css/wikked.less
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
3 WIKKED_CSS = ./static/css/wikked.min.css
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 REQUIREJS_BUILD = ./static/.rbuild.js
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 DATE=$(shell date +%I:%M%p)
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 CHECK=\033[32m✔\033[39m
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 build:
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 @echo ""
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 @echo "Building Wikked..."
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 @echo ""
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 @recess --compile --compress ${WIKKED_LESS} > ${WIKKED_CSS}
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 @echo "Compiling LESS stylesheets... ${CHECK} Done"
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 @r.js -o ${REQUIREJS_BUILD}
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 @echo "Compiling Javascript code... ${CHECK} Done"
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 @echo ""
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 @echo "Successfully compiled Wikked."
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 @echo ""
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 clean:
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 rm ${WIKKED_CSS}
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 watch:
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25 recess ${WIKKED_LESS}:${WIKKED_CSS} --watch
97efd73f2158 Changed RequireJS paths to make it usable with the optimizer.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26