forked from forks/qmk_firmware
14 lines
354 B
JavaScript
14 lines
354 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']);
|
||
|
});
|