Created
December 17, 2015 17:44
-
-
Save charliecm/9c40ce78bd06d743c8e7 to your computer and use it in GitHub Desktop.
Gulp sketchtool task script for https://github.com/charliecm/font-icons-workflow
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; | |
gulp.task('default', function (cb) { | |
exec('sketchtool export slices assets/icons.sketch --output=assets/icons/', function (err, stdout, stderr) { | |
console.log(stdout); | |
console.log(stderr); | |
cb(err); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment