Skip to content

Commit

Permalink
Added sass compilation to bin/build, added gen'd resources to .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
zk committed Mar 7, 2013
1 parent 28e9fa2 commit 84b647c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .notes.zk.org
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion lein-template/src/leiningen/new/nsfw/.gitignore
Expand Up @@ -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
10 changes: 10 additions & 0 deletions lein-template/src/leiningen/new/nsfw/build
@@ -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.