summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox_ez/keymaps/hacker_dvorak/gulpfile.js
blob: 23f19d18afb4bd6f63e3969c070c3c317d96747b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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']);