-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
28 lines (23 loc) · 880 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
# Define the branch for SCED repository
SCED_BRANCH := main
# Define the version for TTS Mod Manager
TTS_MOD_MANAGER_VERSION := latest
# Determine the URL for TTS Mod Manager based on version
ifeq ($(TTS_MOD_MANAGER_VERSION), latest)
TTS_MOD_MANAGER_URL := https://github.com/argonui/TTSModManager/releases/latest/download/TTSModManager-Linux
else
TTS_MOD_MANAGER_URL := https://github.com/argonui/TTSModManager/releases/download/$(TTS_MOD_MANAGER_VERSION)/TTSModManager-Linux
endif
# Initialize the project
# Copy contents of src/xml directory to the cloned SCED repository for Lua/XML bundling
init:
curl -fOL $(TTS_MOD_MANAGER_URL) && chmod +x TTSModManager-Linux
git clone https://github.com/argonui/SCED --branch $(SCED_BRANCH) SCED
cp -R src/* SCED/src/
cp -R xml/* SCED/xml/
# Build the project
build:
python build.py
# Minify the output
minify:
python minify.py