Skip to content

Commit

Permalink
Copy license to build output directory.
Browse files Browse the repository at this point in the history
Also, adds a package-lock.json, since it seems like we haven’t touched the dependencies in a while.
  • Loading branch information
adunkman committed Apr 9, 2018
1 parent 87d4ecd commit b0ac854
Show file tree
Hide file tree
Showing 4 changed files with 3,430 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ node_modules
public/*.js
public/*.css
public/*.json
public/LICENSE.md
chosen*.zip
.sass-cache
.ruby-version
Expand Down
7 changes: 6 additions & 1 deletion Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ This file is generated by `grunt build`, do not edit it by hand.
src: ['public/chosen.css']
dest: 'public/chosen.css'

copy:
main:
src: 'LICENSE.md'
dest: 'public/'

coffee:
options:
join: true
Expand Down Expand Up @@ -120,7 +125,7 @@ This file is generated by `grunt build`, do not edit it by hand.
grunt.loadTasks 'tasks'

grunt.registerTask 'default', ['build']
grunt.registerTask 'build', ['coffee:jquery', 'coffee:proto', 'sass', 'concat', 'uglify', 'postcss', 'cssmin']
grunt.registerTask 'build', ['coffee:jquery', 'coffee:proto', 'sass', 'concat', 'uglify', 'postcss', 'cssmin', 'copy']
grunt.registerTask 'test', ['coffee', 'jasmine']
grunt.registerTask 'test:jquery', ['coffee:test', 'coffee:jquery', 'jasmine:jquery', 'jasmine:jquery_old']
grunt.registerTask 'test:proto', ['coffee:test', 'coffee:proto', 'jasmine:proto']
Expand Down
Loading

0 comments on commit b0ac854

Please sign in to comment.