Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add gh-pages task

  • Loading branch information...
commit 6d741ee858b5525d920e109987feb4b9bba95cc1 1 parent 6c9a589
@ngoldman ngoldman authored
Showing with 15 additions and 2 deletions.
  1. +3 −0  .gitignore
  2. +10 −1 Gruntfile.js
  3. +2 −1  package.json
View
3  .gitignore
@@ -16,5 +16,8 @@ node_modules
# Coverage
coverage
+# Grunt
+.grunt/
+
# Debugging Files
debug.html
View
11 Gruntfile.js
@@ -109,6 +109,15 @@ module.exports = function(grunt) {
keepalive: true
}
}
+ },
+ 'gh-pages': {
+ options: {
+ base: 'examples',
+ message: 'update gh-pages',
+ repo: 'git@github.com:Esri/esri-leaflet.git',
+ push: false // cd into `.grunt/grunt-gh-pages/gh-pages/src` to push
+ },
+ src: ['**']
}
});
@@ -122,6 +131,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-concat');
grunt.loadNpmTasks('grunt-contrib-connect');
grunt.loadNpmTasks('grunt-karma');
-
+ grunt.loadNpmTasks('grunt-gh-pages');
};
View
3  package.json
@@ -25,7 +25,8 @@
"karma": "~0.10.1",
"karma-mocha": "~0.1.0",
"karma-coverage": "~0.1",
- "grunt-karma": "~0.6.1"
+ "grunt-karma": "~0.6.1",
+ "grunt-gh-pages": "~0.8.1"
},
"author": "Patrick Arlt <parlt@esri.com> (http://patrickarlt.com)",
"contributors": [
Please sign in to comment.
Something went wrong with that request. Please try again.