Permalink
Browse files

Build: Add normalize.css and include in default build

This includes normalize.css in the external folder and includes it as
part of the default build.

Fixes gh-7
Closes gh-66
  • Loading branch information...
arschmitz committed Mar 30, 2015
1 parent 206014c commit b1fe03eb8f971d272600061f08a20cbe7eda278c
Showing with 496 additions and 13 deletions.
  1. +0 −1 .gitignore
  2. +27 −1 Gruntfile.js
  3. +19 −0 external/normalize.css/LICENSE.md
  4. +424 −0 external/normalize.css/normalize.scss
  5. +5 −2 package.json
  6. +18 −0 scss/lint.scss
  7. +3 −9 scss/style.scss
View
@@ -6,7 +6,6 @@ style.css
# Folders
bower_components/
node_modules/
-external/
icons/svg-min/
.sass-cache/
dist/
View
@@ -44,7 +44,7 @@ var config = {
}
},
csslint: {
- src: [ "dist/css/*.css" ]
+ src: [ "dist/css/chassis.lint.css", "dist/css/chassis.lint.css" ]
},
jscs: {
all: [ "*.js", "performance/**/*.js" ]
@@ -55,7 +55,20 @@ var config = {
jshintrc: ".jshintrc"
}
},
+ npmcopy: {
+ options: {
+ destPrefix: "external"
+ },
+ normalize: {
+ files: {
+ "normalize.css/LICENSE.md": "normalize.css/LICENSE.md",
+ "normalize.css/normalize.scss": "normalize.css/normalize.css"
+ }
+ }
+ },
sass: {
+
+ // This is the same as lint below except including normalize.css
dist: {
options: {
sourceMap: true,
@@ -66,6 +79,19 @@ var config = {
files: {
"dist/css/chassis.css": "scss/style.scss"
}
+ },
+
+ // This is everything except normalize.css which won't pass our lint settings
+ lint: {
+ options: {
+ sourceMap: true,
+
+ // This actually does nested until libsass updates to support expanded
+ outputStyle: "expanded"
+ },
+ files: {
+ "dist/css/chassis.lint.css": "scss/lint.scss"
+ }
}
},
@@ -0,0 +1,19 @@
+Copyright (c) Nicolas Gallagher and Jonathan Neal
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of
+this software and associated documentation files (the "Software"), to deal in
+the Software without restriction, including without limitation the rights to
+use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+of the Software, and to permit persons to whom the Software is furnished to do
+so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
Oops, something went wrong.

0 comments on commit b1fe03e

Please sign in to comment.