Created
April 30, 2018 14:14
-
-
Save dylanyoung-dev/2a7bb6befa119d3d52d4c46d6f75708d to your computer and use it in GitHub Desktop.
Gulp Leprechaun Build Task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var gulp = require("gulp"); | |
var exec = require("child_process").exec; | |
// Run Leprechaun to Code Generate Models | |
gulp.task('_Code-Generation', function(x) { | |
exec('.\\Tools\Leprechaun-1.0.0\\Leprechaun.console.exe /c .\\src\\Leprechaun.config', function (err, stdout, stderr) { | |
console.log(stdout); | |
console.log(stderr); | |
x(err); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment