~dricottone/noticable

ref: ce7dbb51784264263620803b50a7b0f6afe4a543 noticable/Makefile -rw-r--r-- 641 bytes
ce7dbb51Dominic Ricottone Release v0.0.3: Enable HTML in Markdown notes 3 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.PHONY: clean build run check-updates

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

build: clean
	npm install monaco-editor electron-localshortcut jquery markdown-it github-markdown-css
	npm install --save-dev electron electron-builder

build-windows: build
	#NOTE: works but electron-builder is preferred
	#./node_modules/.bin/electron-packager ./ noticable --platform=win32 --arch=x64

	#NOTE: works, but is remarkably slower!
	#./node_modules/.bin/electron-builder --win portable

	./node_modules/.bin/electron-builder --win nsis

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

check-updates:
	npm update
	npm outdated