Skip to content

Commit

Permalink
Initial commit of Gruntfile to deploy the demo to github pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamos committed Aug 14, 2014
1 parent 16ba91a commit f6f243b
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
module.exports = function(grunt) {
grunt.initConfig({
buildcontrol: {
options: {
dir: 'demo',
commit: true,
push: true,
message: 'Built %sourceName% from commit %sourceCommit% on branch %sourceBranch%.'
},
pages: {
options: {
remote: 'git@https://git.corp.adobe.com/amos/spindle.git',
branch: 'gh-pages'
}
}
}
});
grunt.loadNpmTasks('grunt-build-control');
grunt.registerTask('deploy', ['buildcontrol:pages']);
}
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "spindle",
"version": "0.1.0",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-nodeunit": "~0.3.3",
"grunt-contrib-uglify": "~0.4.0",
"grunt-build-control": "0.1.3"
}
}

0 comments on commit f6f243b

Please sign in to comment.