-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
69 lines (56 loc) · 2.01 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
.PHONY: js deploy
.ONESHELL:
.SHELLFLAGS += -eo pipefail
horizoverlay/build: $(shell find horizoverlay/src -type f) $(shell find horizoverlay/public -type f)
cd horizoverlay
npm install
NODE_OPTIONS=--openssl-legacy-provider npm run build
canisminor/dist: $(shell find canisminor/src -type f) $(shell find canisminor/public -type f) canisminor/package-lock.json
cd canisminor
npm install --legacy-peer-deps
npm run build
ikegami/dist: $(shell find ikegami/assets ikegami/components ikegami/fonts ikegami/lib ikegami/store ikegami/styles ikegami/index.vue ikegami/index.js -type f)
cd ikegami
yarn
NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production yarn vite build
ember/build: $(shell find ember/src -type f) $(shell find ember/public -type f)
cd ember
yarn
NODE_OPTIONS=--openssl-legacy-provider yarn build
skyline/dist: $(shell find skyline/src -type f) $(shell find skyline/public -type f)
cd skyline
pnpm install --frozen-lockfile
VITE_BASE_URL=/skyline pnpm build
zeffui/dist: $(shell find zeffui -type f)
cd zeffui
rm -rf dist
mkdir -p dist
cp -r 3rdparty data scripts skins styles *.html LICENSE dist/
SkillDisplay/build: $(shell find SkillDisplay/src -type f) $(shell find SkillDisplay/public -type f)
cd SkillDisplay
npm install
npm run build
kagerou/dist: $(shell find kagerou/overlay -type f)
cd kagerou
yarn
yarn build
js: horizoverlay/build canisminor/dist ikegami/dist ember/build zeffui/dist SkillDisplay/build skyline/dist kagerou/dist
dist: js
mkdir -p dist
rm -rf dist/*
cp -r kagerou/dist dist/kagerou
cp -r mopimopi dist/mopimopi
cp -r mopimopi2 dist/mopimopi2
cp -r horizoverlay/build dist/horizoverlay
cp -r canisminor/dist dist/canisminor
cp -r faceroll dist/faceroll
cp -r ember/build dist/ember
cp -r amethyst dist/amethyst
cp -r ikegami/dist dist/ikegami
cp -r skyline/dist dist/skyline
cp -r zeffui/dist dist/zeffui
cp -r SkillDisplay/build dist/SkillDisplay
cp index.html dist/index.html
cp 404.html dist/404.html
deploy:
rsync -avP dist/ toomanyreqs:/var/www/overlays/