Permalink
Browse files

Added gen of sass sourcemap

  • Loading branch information...
1 parent 269faaa commit d1c448ec5bafdfae2b7965709ce4fdd37e80d4e3 @zk committed Mar 7, 2013
Showing with 8 additions and 2 deletions.
  1. +6 −0 README.md
  2. +2 −2 lein-template/src/leiningen/new/nsfw/build
View
@@ -18,6 +18,12 @@ Could not find metadata nsfw:lein-template/maven-metadata.xml in central (http:/
Just `rm -rf ./<project dir>` and try again.
+## Neat Stuff
+
+Live as close to production as possible.
+
+1. Sass sourcemaps!
+
## License
Copyright (C) 2010-2012 Zachary Kim
@@ -4,9 +4,9 @@
if [ ! -d "$PWD/.gem" ]; then
mkdir $PWD/.gem
fi
-gem install sass --no-rdoc --no-ri --install-dir "$PWD/.gem"
+gem install sass --pre --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 --style compressed
+$PWD/.gem/bin/sass --update src/scss:resources/public/css --style compressed --sourcemap
# cljs
lein cljsbuild once prod

0 comments on commit d1c448e

Please sign in to comment.