Skip to content

Commit

Permalink
update grunt files
Browse files Browse the repository at this point in the history
  • Loading branch information
aborn committed Oct 25, 2015
1 parent c564470 commit 46660c5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 0 additions & 3 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@ module.exports = (grunt) ->
date = grunt.template.date(new Date(), 'yyyy-mm-dd');
grunt.file.write("README.md", content + "\n" + date)

grunt.registerTask 'ui', 'install semantic ui to web', () ->
grunt.file.copy('node_modules/semantic-ui/dist', 'src/main/webapp/ui/semantic-ui/')

grunt.registerTask 'default', ['preBuild', 'build', 'postBuild']
grunt.registerTask 'build', ['copy','coffee', 'compass', 'uglify', 'cssmin']
grunt.registerTask 'test', ['coffee']
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ CREATE TABLE `appkit_demo` (
2015-03-15

## 最近更新时间
2015-10-15
2015-10-25
2 changes: 2 additions & 0 deletions src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
<url-pattern>/jquery/*</url-pattern>
<url-pattern>/chosen/*</url-pattern>
<url-pattern>/files/*</url-pattern>
<url-pattern>/ui/*</url-pattern>
<url-pattern>/assets/*</url-pattern>
</servlet-mapping>

<!-- DispatcherServlet Config -->
Expand Down

0 comments on commit 46660c5

Please sign in to comment.