proboards-saver/Gruntfile.js

24 lines
521 B
JavaScript
Raw Normal View History

2015-03-12 14:56:56 +00:00
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON( 'package.json' ),
run: {
saver: {
cmd: 'casperjs',
args: [
2017-01-05 14:57:32 +00:00
'src/proboard_saver.js',
2015-03-12 14:56:56 +00:00
'--board-nr=YOUR-BOARD-NR',
'--board-name=YOUR-BOARD-NAME',
'--user=YOUR-USERNAME',
'--password=YOUR-PASSWORD'
]
}
}
});
grunt.loadNpmTasks('grunt-run');
grunt.registerTask('default', ['run:saver']);
grunt.registerTask('save', ['run:saver']);
};