Permalink
Browse files

Added sass compilation to bin/build, added gen'd resources to .gitignore

  • Loading branch information...
1 parent 28e9fa2 commit 84b647c98d86c9d6a7450df13766b09b6e2e4751 @zk committed Mar 7, 2013
Showing with 15 additions and 3 deletions.
  1. +0 −2 .notes.zk.org
  2. +5 −1 lein-template/src/leiningen/new/nsfw/.gitignore
  3. +10 −0 lein-template/src/leiningen/new/nsfw/build
View
@@ -921,13 +921,11 @@ to make easy. Revised initial stuff below:
+ Getting a handle on data injected into the page
+ Initial js transfer and load.
-
Order of ops
+ Request comes in
+ One route for the app
+ Load the
-
+ App Setup
+ Clojurescript app
+ Session storage
@@ -7,4 +7,8 @@ classes
/.lein-failures
/.lein-cljsbuild*
target
-.sass-cache
+.sass-cache
+
+/resources/public/css/app.css
+/resources/public/css/nsfw.css
+/resources/public/css/app.js
@@ -1,4 +1,14 @@
#!/bin/sh
+# sass
+
+if [ ! -d "$PWD/.gem" ]; then
+ mkdir $PWD/.gem
+fi
+gem install sass --no-rdoc --no-ri --install-dir "$PWD/.gem"
+export GEM_PATH=$GEM_PATH:$PWD/.gem
+$PWD/.gem/bin/sass --update src/scss:resources/public/css
+
+# cljs
lein cljsbuild once prod
lein with-profile production compile :all

0 comments on commit 84b647c

Please sign in to comment.