mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-06-15 23:25:25 -04:00
Render paper.js version number as part of the docs.
This commit is contained in:
parent
79a6915a7e
commit
82de56ea2c
4 changed files with 10 additions and 7 deletions
gulp/tasks
|
@ -12,7 +12,8 @@
|
|||
|
||||
var gulp = require('gulp'),
|
||||
del = require('del'),
|
||||
shell = require('gulp-shell');
|
||||
shell = require('gulp-shell'),
|
||||
options = require('../utils/options.js');
|
||||
|
||||
var docOptions = {
|
||||
local: 'docs', // Generates the offline docs
|
||||
|
@ -22,7 +23,8 @@ var docOptions = {
|
|||
Object.keys(docOptions).forEach(function(name) {
|
||||
gulp.task('docs:' + name, ['clean:docs'], shell.task([
|
||||
'java -cp jsrun.jar:lib/* JsRun app/run.js -c=conf/' + name + '.conf ' +
|
||||
'-D="renderMode:' + docOptions[name] + '"',
|
||||
'-D="renderMode:' + docOptions[name] + '" ' +
|
||||
'-D="version:' + options.version + '"'
|
||||
], {
|
||||
cwd: 'gulp/jsdoc'
|
||||
}));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue