Skip to content

Commit

Permalink
javascript test libries are distributes by grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Apr 26, 2014
1 parent 5430ca7 commit 1f86519
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -15,5 +15,6 @@ spec/reports
doc/*.html
.rspec
/Gemfile.local
spec/javascripts/lib
bower_components
node_modules
24 changes: 24 additions & 0 deletions Gruntfile.js
@@ -0,0 +1,24 @@
module.exports = function (grunt) {
'use strict';
grunt.initConfig({
dir: {
src: 'src',
dest: 'dist'
},
pkg: grunt.file.readJSON("package.json"),
bower: {
install: {
options: {
targetDir: './spec/javascripts/lib',
layout: 'byComponent',
install: true,
verbose: false,
cleanTargetDir: true,
cleanBowerDir: false
}
}
},
});
grunt.loadNpmTasks('grunt-bower-task');
grunt.registerTask('default', ['bower:install']);
};
4 changes: 1 addition & 3 deletions bower.json
Expand Up @@ -10,9 +10,7 @@
"**/.*",
"node_modules",
"bower_components",
"spec/javascripts",
"test",
"tests"
"spec/javascripts/lib"
],
"devDependencies": {
"jquery": "~2.1.0",
Expand Down

0 comments on commit 1f86519

Please sign in to comment.