Skip to content

Instantly share code, notes, and snippets.

@dylanyoung-dev
Created April 30, 2018 14:14
Show Gist options
  • Save dylanyoung-dev/2a7bb6befa119d3d52d4c46d6f75708d to your computer and use it in GitHub Desktop.
Save dylanyoung-dev/2a7bb6befa119d3d52d4c46d6f75708d to your computer and use it in GitHub Desktop.
Gulp Leprechaun Build Task
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