Skip to content

Commit 4763a9c

Browse files
author
Ken Earley
committed
Added license to non-minified css file
1 parent 5eac8bc commit 4763a9c

2 files changed

Lines changed: 16 additions & 12 deletions

File tree

‎Gruntfile.coffee‎

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,17 @@ module.exports = (grunt) ->
77
grunt.initConfig
88
pkg: grunt.file.readJSON("package.json")
99
comments: """
10-
// Chosen, a Select Box Enhancer for jQuery and Prototype
11-
// by Patrick Filler for Harvest, http://getharvest.com
12-
//
13-
// Version <%= pkg.version %>
14-
// Full source at https://github.com/harvesthq/chosen
15-
// Copyright (c) 2011 Harvest http://getharvest.com
16-
17-
// MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
18-
// This file is generated by `grunt build`, do not edit it by hand.\n
10+
/*************************************************************************
11+
* Chosen, a Select Box Enhancer for jQuery and Prototype
12+
* by Patrick Filler for Harvest, http://getharvest.com
13+
*
14+
* Version <%= pkg.version %>
15+
* Full source at https://github.com/harvesthq/chosen
16+
* Copyright (c) 2011 Harvest http://getharvest.com
17+
*
18+
* MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
19+
* This file is generated by `grunt build`, do not edit it by hand.
20+
*************************************************************************/\n
1921
"""
2022
minified_comments: "/* Chosen #{version_tag()} | (c) 2011-2013 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */\n"
2123

@@ -50,8 +52,10 @@ module.exports = (grunt) ->
5052
compass:
5153
chosen_css:
5254
options:
53-
specify:
54-
['sass/chosen.scss']
55+
banner: "<%= comments %>"
56+
sassDir: "sass"
57+
cssDir: "public"
58+
specify: ['sass/chosen.scss']
5559

5660
cssmin:
5761
minified_chosen_css:

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"grunt-contrib-watch": "~0.3.1",
2121
"grunt-contrib-copy": "~0.4.1",
2222
"grunt-contrib-clean": "~0.4.1",
23-
"grunt-contrib-compass": "~0.3.0",
23+
"grunt-contrib-compass": "~0.5.0",
2424
"grunt-contrib-cssmin": "~0.6.1",
2525
"grunt-build-gh-pages": "0.0.4",
2626
"grunt-zip": "~0.9.2",

0 commit comments

Comments
 (0)