~dricottone/noticable

noticable/Makefile -rw-r--r-- 492 bytes
3ec618a6Dominic Ricottone Flatten if/else blocks into one-liners 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
.PHONY: clean build run check-updates

clean:
	rm dist/ noticable-win32-x64/ -rf
	rm node_modules/* -rf

build: clean
	npm install monaco-editor jquery markdown-it github-markdown-css
	npm install --save-dev electron electron-builder
	chmod 755 ./node_modules/.bin/electron

build-windows: ./node_modules/.bin/electron-builder
	./node_modules/.bin/electron-builder --win nsis

run: ./node_modules/.bin/electron
	./node_modules/.bin/electron main.js

check-updates:
	npm update
	npm outdated