Sha256: 377ea31560ae74e5b3af56fbf2e03540114435956b341ce3185bfbf5f38789c4
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
#!ruby -I ../lib -I lib require 'nyny' require 'haml' require 'coffee_script' require 'sprockets/nyny' class App < NYNY::App register Sprockets::NYNY config.assets.precompile << 'app/assets/javascripts/application.js' config.assets.compress = true config.assets.js_compressor = :uglify config.assets.css_compressor = :sass get '/' do render 'app/views/index.haml' end end App.run! if __FILE__ == $0
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprockets-nyny-0.0.3 | test/server.rb |
sprockets-nyny-0.0.2 | test/server.rb |