Repo restructure

This commit is contained in:
Nick Pack 2013-07-15 10:28:06 +01:00
parent 0fcf83793e
commit d8d6f54b67
19 changed files with 6 additions and 6 deletions

2
.gitignore vendored
View File

@ -1,2 +1,2 @@
.sass-cache/* .sass-cache
node_modules node_modules

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "scss/normalize"] [submodule "scss/normalize"]
path = scss/normalize path = src/scss/normalize
url = https://github.com/nickpack/normalize.scss.git url = https://github.com/nickpack/normalize.scss.git

View File

@ -6,7 +6,7 @@ module.exports = function(grunt) {
sass: { sass: {
dist: { dist: {
files: { files: {
'css/Ribs.css': 'scss/Ribs.scss', 'build/css/Ribs.css': 'src/scss/Ribs.scss',
} }
} }
}, },
@ -16,7 +16,7 @@ module.exports = function(grunt) {
import: false, import: false,
csslintrc: '.csslintrc' csslintrc: '.csslintrc'
}, },
src: ['css/Ribs.css'] src: ['build/css/Ribs.css']
} }
}, },
cssmin: { cssmin: {
@ -25,12 +25,12 @@ module.exports = function(grunt) {
banner: '/* <%= pkg.name %> <%= pkg.version %> - https://github.com/nickpack/Ribs - <%= grunt.template.today("dd-mm-yyyy") %> */' banner: '/* <%= pkg.name %> <%= pkg.version %> - https://github.com/nickpack/Ribs - <%= grunt.template.today("dd-mm-yyyy") %> */'
}, },
files: { files: {
'css/Ribs.min.css': 'css/Ribs.css' 'build/css/Ribs.min.css': 'build/css/Ribs.css'
} }
}, },
}, },
watch: { watch: {
files: 'scss/**/*', files: 'src/scss/**/*',
tasks: ['sass', 'csslint', 'cssmin'] tasks: ['sass', 'csslint', 'cssmin']
} }
}); });

View File

Before

Width:  |  Height:  |  Size: 9.9 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

View File

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB