Skip to content

Instantly share code, notes, and snippets.

@lrvick
Created June 18, 2013 18:32
Show Gist options
  • Save lrvick/5808001 to your computer and use it in GitHub Desktop.
Save lrvick/5808001 to your computer and use it in GitHub Desktop.
grunt-bower-task failing testcase Fails to copy modules from a Git repository with no bower package file.
{
"directory": "app/lib"
}
{
"name": "testcase",
"dependencies": {
"Overthrow": "git://github.com/filamentgroup/Overthrow.git"
}
}
module.exports = (grunt) ->
require("matchdep").filter("grunt-*")
.forEach grunt.loadNpmTasks
grunt.initConfig
bower:
install:
options:
targetDir: './app/lib'
verbose: true
install: true
cleanup: true
grunt.registerTask "build", [
"bower:install"
]
grunt.registerTask "default", ["build"]
{
"name": "shopland",
"version": "5.0.0",
"engines": {
"node": ">=0.8.0"
},
"dependencies": {
"grunt-bower-task": "0.2.3",
"grunt": "~0.4.1",
"matchdep": "~0.1.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment