skylark-qmk/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
Ismael Venegas Castelló 5eb8f3f6b5 Keymap: Refactor Hacker Dvorak (#4688)
Programmer Dvorak based layout for the Ergodox EZ.
2018-12-19 16:49:56 -08:00

19 lines
418 B
JavaScript

let gulp = require('gulp');
let run = require('gulp-run-command').default;
gulp.task('clean', run('rm -rf ../../../../.build'));
gulp.task('build', ['clean'], run('make -C ../../../../ ergodox_ez:hacker_dvorak', {
ignoreErrors: true
}));
gulp.task('watch', ['build'], () => {
gulp.watch([
'keymap.c',
'config.h',
'rules.mk',
], ['build']);
});
gulp.task('default', ['watch']);