mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-10-22 23:49:38 +02:00
Initial commit with draft parser inplace.
This commit is contained in:
15
gulpfile.js
Normal file
15
gulpfile.js
Normal file
@@ -0,0 +1,15 @@
|
||||
var gulp = require('gulp');
|
||||
var jison = require('gulp-jison');
|
||||
var shell = require('gulp-shell')
|
||||
|
||||
gulp.task('jison', function() {
|
||||
return gulp.src('./src/*.jison')
|
||||
.pipe(jison({ moduleType: 'amd' }))
|
||||
.pipe(gulp.dest('./src/'));
|
||||
});
|
||||
|
||||
gulp.task('shorthand', shell.task([
|
||||
'echo hello',
|
||||
'echo world',
|
||||
'jison src/mermaid.jison -o src/mermaid.js'
|
||||
]))
|
Reference in New Issue
Block a user