tasks/joosy.coffee in joosy-1.2.0.alpha.19 vs tasks/joosy.coffee in joosy-1.2.0.alpha.20
- old
+ new
@@ -6,11 +6,11 @@
grunt.loadNpmTasks 'grunt-contrib-connect'
grunt.loadNpmTasks 'grunt-contrib-uglify'
grunt.loadNpmTasks 'grunt-contrib-cssmin'
grunt.loadNpmTasks 'grunt-bower-task'
- grunt.registerTask 'joosy:compile', ['joosy:compile:code', 'joosy:compile:styles', 'joosy:compile:playground']
+ grunt.registerTask 'joosy:compile', ['mince', 'uglify', 'cssmin', 'joosy:compile:playground']
grunt.registerTask 'joosy:compile:code', ['mince:code', 'uglify:application']
grunt.registerTask 'joosy:compile:styles', ['mince:styles', 'cssmin:application']
grunt.registerTask 'joosy:compile:playground', ->
hamlc = require 'haml-coffee'
@@ -30,10 +30,10 @@
assets = new mincer.Environment(process.cwd())
assets.appendPath 'source',
assets.appendPath 'stylesheets',
assets.appendPath 'components'
assets.appendPath 'vendor'
- assets.appendPath 'node_modules/joosy/lib'
+ assets.appendPath 'node_modules/joosy/src'
server.use '/assets', mincer.createServer(assets)
server.use '/', (req, res, next) ->
if req.url == '/'