cleanup make pipeline

This commit is contained in:
yosh 2023-05-22 00:02:38 -05:00
parent daeb7c52e8
commit f47c8f60b6
2 changed files with 5 additions and 7 deletions

View File

@ -6,8 +6,8 @@
LIBS = -pkg:dotnet -r:MonoMod.Utils.dll -r:MonoMod.RuntimeDetour.dll \
-r:Celeste.exe -r:MMHOOK_Celeste.dll -r:FNA.dll -r:Mono.Cecil.dll -r:YamlDotNet.dll -r:CelesteNet.Client.dll -r:CelesteNet.Shared.dll
# We'll use only the ./Libraries/ and ./References/ directories, and have people symlink libs there or w/e
LIB_PATH = -lib:./Libraries/ -lib:./References/
# We'll use only the ./SourceCode/Libraries/ and ./SourceCode/References/ directories, and have people symlink libs there or w/e
LIB_PATH = -lib:./SourceCode/Libraries/ -lib:./SourceCode/References/
BINARY=AvaliSkin.dll
@ -16,7 +16,8 @@ default: release
# To compile code on linux you will need the mono runtime and mcs (the mono c# compiler), and that's it actually.
release:
mcs -v ${LIB_PATH} ${LIBS} *.cs -t:library -out:../${BINARY} -optimize
mcs -v ${LIB_PATH} ${LIBS} ./SourceCode/*.cs -t:library -out:${BINARY} -optimize
zip -r Avali-Skinmod.zip Audio/ Dialog/ Graphics/ Effects/AvaliRecolor.o LICENSE.md everest.yaml AvaliSkin.dll
# To compile the shaders, you will need:
# - wine64 to be installed,
@ -27,4 +28,4 @@ release:
# *somewhere* on your system.
# Man microsoft software sucks... how is this company still alive
shader_c:
wine64 fxc.exe "..\Effects\AvaliRecolor.fx" "/T" "fx_2_0" "/Fo" "..\Effects\AvaliRecolor.o" "/O3"
wine64 fxc.exe "Effects\AvaliRecolor.fx" "/T" "fx_2_0" "/Fo" "Effects\AvaliRecolor.o" "/O3"

3
zip.sh
View File

@ -1,3 +0,0 @@
#!/bin/sh
zip -r Avali-Skinmod.zip Audio/ Dialog/ Graphics/ Effects/AvaliRecolor.o LICENSE.md everest.yaml AvaliSkin.dll