Skip to content

Instantly share code, notes, and snippets.

@charliecm
Created December 17, 2015 17:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save charliecm/9c40ce78bd06d743c8e7 to your computer and use it in GitHub Desktop.
Save charliecm/9c40ce78bd06d743c8e7 to your computer and use it in GitHub Desktop.
Gulp sketchtool task script for https://github.com/charliecm/font-icons-workflow
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