Skip to content

Commit 0eff0bb

Browse files
author
lauren mccarthy
committed
updating docs
1 parent 9e018ea commit 0eff0bb

File tree

8 files changed

+4571
-251
lines changed

8 files changed

+4571
-251
lines changed

Gruntfile.js

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,15 @@ module.exports = function(grunt) {
172172
outdir: 'docs/reference/'
173173
}
174174
}
175+
},
176+
release: {
177+
options: {
178+
github: {
179+
repo: 'lmccart/p5.js', //put your user/repo here
180+
usernameVar: process.env.GITHUB_USERNAME, //ENVIRONMENT VARIABLE that contains Github username
181+
passwordVar: process.env.GITHUB_PASSWORD //ENVIRONMENT VARIABLE that contains Github password
182+
}
183+
}
175184
}
176185

177186
});
@@ -182,10 +191,10 @@ module.exports = function(grunt) {
182191
grunt.loadNpmTasks('grunt-mocha');
183192
grunt.loadNpmTasks('grunt-contrib-yuidoc');
184193
grunt.loadNpmTasks('grunt-contrib-sass');
185-
grunt.registerTask('test', ['jshint', 'mocha']);
194+
grunt.loadNpmTasks('grunt-release');
186195

196+
grunt.registerTask('test', ['jshint', 'mocha']);
187197
grunt.registerTask('yui', ['yuidoc']);
188-
189198
grunt.registerTask('default', ['jshint', 'requirejs', 'mocha']);
190199

191200
};

0 commit comments

Comments
 (0)