-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
55 lines (38 loc) · 761 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
DC_RUN=docker-compose run --rm maker
default: build
build:
$(DC_RUN) build
version:
$(DC_RUN) version
install:
$(DC_RUN) install
publish-npm:
npm publish
publish-pages:
./src/scripts/publish-gh-pages.sh
spritesheets:
$(DC_RUN) generate-all-spritesheets
data:
$(DC_RUN) build-json-data
pages:
$(DC_RUN) build-gh-pages
pretty:
$(DC_RUN) prettify-code
version-major:
npm version major
version-minor:
npm version minor
version-patch:
npm version patch
version-fix: version-patch
version: version-minor
# ----- ONE-OFFs
pngs:
$(DC_RUN) export-svgs-to-pngs
npm-audit-fix:
rm -rf package-lock.json ./node_modules
npm i --package-lock-only && npm audit fix
rm -f yarn.lock && yarn import
rm -f package-lock.json
.SILENT:
.PHONY: build