forked from GiovanH/unofficial-homestuck-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (29 loc) · 951 Bytes
/
Makefile
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
default: test
install: package.json yarn.lock
yarn install --ignore-optional
touch install
clean:
-rm ./install src/imods.tar
-rm -r dist/ dist_electron/*/
lint: install
yarn run vue-cli-service lint
# yarn lint
test: install src/imods.tar
yarn run vue-cli-service electron:serve
# yarn dev
build: install src/imods.tar
yarn run vue-cli-service electron:build
# yarn electron:build
publish_release: install src/imods.tar
yarn run vue-cli-service electron:build -p always
vuebuild: install src/imods.tar
yarn run vue-cli-service build
src/imods.tar: $(wildcard src/imods/*)
cd src && tar -czf imods.tar imods/
help:
@echo 'Usage: '
@echo ' make clean try to clean old build artifacts'
@echo ' make test start a development version now'
@echo ' make publish create a production version'
@echo ' make lint lints and fixes files'
.PHONY: clean test publish help lint test