Skip to content
This repository has been archived by the owner on Apr 24, 2019. It is now read-only.

Commit

Permalink
Restructre copying of files and dist-folder structure
Browse files Browse the repository at this point in the history
Use a folder for each version distributed version.

Closes #11.
  • Loading branch information
drublic committed Sep 9, 2013
1 parent 8ff30b6 commit b59cc60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### HEAD

* Restructre copying of files and dist-folder structure (#11)
* Add Grunt task to optimize images (#26)
* Add documentation about how to write modules with Sass
* Add default markup (#31)
Expand Down
10 changes: 5 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = function (grunt) {
// Build modernizr
modernizr: {
devFile: 'components/modernizr/modernizr.js',
outputFile : 'dist/js/vendor/modernizr-for-<%= pkg.version %>.min.js',
outputFile : 'dist/<%= pkg.version %>/modernizr.min.js',

extra: {
shiv: true,
Expand Down Expand Up @@ -52,7 +52,7 @@ module.exports = function (grunt) {
style: 'compressed'
},
files: {
'dist/css/main-<%= pkg.version %>.min.css': 'scss/main.scss'
'dist/<%= pkg.version %>/main.min.css': 'scss/main.scss'
}

}
Expand All @@ -67,7 +67,7 @@ module.exports = function (grunt) {
options: {
mainConfigFile: 'js/config.js',
include: ['../components/requirejs/require'],
out: 'dist/js/main-<%= pkg.version %>.min.js'
out: 'dist/<%= pkg.version %>/main.min.js'
}
}
},
Expand Down Expand Up @@ -140,8 +140,8 @@ module.exports = function (grunt) {

// Setup concurrent tasks
concurrent: {
deploy1: ['jshint', 'connect:test', 'jasmine', 'clean', 'modernizr', 'sass:deploy', 'imagemin', 'copy'],
deploy2: ['requirejs'],
deploy1: ['jshint', 'clean', 'modernizr', 'sass:deploy', 'imagemin', 'copy'],
deploy2: ['requirejs', 'connect:test', 'jasmine'],
dev1: ['jshint', 'connect:test', 'jasmine', 'sass:dev', 'copy'],
dev2: ['requirejs']
}
Expand Down

0 comments on commit b59cc60

Please sign in to comment.