ZeroOmega/omega-target-chromium-extension/grunt/watch.coffee
2017-08-02 22:46:08 -04:00

29 lines
829 B
CoffeeScript

module.exports =
grunt:
options:
reload: true
files:
'grunt/*'
tasks: ['coffeelint:tasks', 'default']
po2crx_locales:
files: ['../omega-locales/**/*']
tasks: ['po2crx:locales']
copy_web:
files: ['node_modules/omega-web/build/**/*']
tasks: ['copy:web']
copy_target:
files: ['node_modules/omega-target/omega_target.min.js']
tasks: ['copy:target']
copy_overlay:
files: ['overlay/**/*']
tasks: ['copy:overlay']
copy_target_popup:
files: ['src/js/omega_target_popup.js']
tasks: ['copy:target_popup']
coffee:
files: ['src/**/*.coffee']
tasks: ['coffeelint:src', 'browserify', 'coffee', 'copy:target_self']
browserify_omega_webext_proxy_script:
files: ['src/js/omega_webext_proxy_script.js']
tasks: ['browserify:omega_webext_proxy_script']