Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Commit

Permalink
- [grunt] replaced grunt-shell for Duo with grunt-duojs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhyde committed Apr 29, 2015
1 parent 6396792 commit eba52d3
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,4 @@ npm-debug.log
build

## Temporary folder
temp
components
temp
4 changes: 2 additions & 2 deletions gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -101,12 +101,12 @@ module.exports = (grunt) ->
grunt.registerTask 'default', [
'clean'
'copy:build'
'duojs'
'nunjucks'
'sprite'
'webfont'
'sass'
'autoprefixer'
'shell:duo'
'responsive_images:thumbnails'
'browserSync'
'watch'
Expand All @@ -118,14 +118,14 @@ module.exports = (grunt) ->
grunt.registerTask 'build', [
'clean:build'
'copy:build'
'duojs:build'
'nunjucks:build'
'sprite:build'
'webfont:build'
'sass:build'
'autoprefixer:build'
'uncss:build'
'csso:build'
'shell:duo'
'uglify:build'
'clean:styles'
'clean:temp'
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"name": "Kotsu",
"version": "0.7.2",
"version": "0.7.3",
"title": "Clean, opinionated foundation for new projects — to boldly go where no man has gone before",
"author": "LotusTM",
"private": true,
"devDependencies": {
"duo": "^0.11.2",
"gmsmith": "^0.5.0",
"grunt": "^0.4.5",
"grunt-autoprefixer": "^3.0.0",
Expand All @@ -18,12 +17,12 @@
"grunt-contrib-uglify": "^0.9.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-csso": "^0.7.1",
"grunt-duojs": "^0.1.2",
"grunt-newer": "^1.1.0",
"grunt-nunjucks-2-html": "^0.2.8",
"grunt-processhtml": "^0.3.7",
"grunt-responsive-images": "^0.1.6",
"grunt-scss-lint": "^0.3.6",
"grunt-shell": "^1.1.2",
"grunt-size-report": "^0.1.1",
"grunt-spritesmith": "^4.5.3",
"grunt-tinypng": "^0.5.3",
Expand Down
2 changes: 1 addition & 1 deletion tasks/grunt-contrib-watch.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = ->
tasks: ['nunjucks']
scripts:
files: ['<%= path.source.scripts %>/{,**}*.js']
tasks: ['shell:duo']
tasks: ['duojs']
scss:
files: [
'<%= path.source.styles %>/{,**/}*.scss'
Expand Down
13 changes: 13 additions & 0 deletions tasks/grunt-duojs.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
###
Duo
https://github.com/imyelo/grunt-duojs
Comlipe duo.js components
###
module.exports = (grunt) ->
@config 'duojs',
build:
options:
root: '<%= path.source.scripts %>'
entry: 'main.js'
installTo: '../../<%= path.temp.root %>'
buildTo: '../../<%= path.build.scripts %>'
12 changes: 0 additions & 12 deletions tasks/grunt-shell.coffee

This file was deleted.

0 comments on commit eba52d3

Please sign in to comment.