mirror of
https://github.com/jlengrand/toggl-button.git
synced 2026-03-10 08:41:17 +00:00
16 lines
375 B
Makefile
16 lines
375 B
Makefile
default: lint
|
|
|
|
lint: node_modules/.bin/jslint
|
|
@$< src/scripts/*.js src/scripts/content/*.js
|
|
|
|
node_modules/.bin/jslint:
|
|
npm install
|
|
|
|
dist: clean
|
|
@if [ ! -d "out" ]; then mkdir -p out; fi
|
|
@cp -R src/manifest.json src/images src/scripts src/styles src/html out/
|
|
@zip -q -r toggl-button out && rm -rf out
|
|
|
|
clean:
|
|
@if [ -f "toggl-button.zip" ]; then rm toggl-button.zip; fi
|