SAPIServer/Justfile

24 lines
817 B
Makefile
Raw Normal View History

2024-07-17 21:38:27 -04:00
build:
dotnet build -c Release
make -C speech2 CONFIG=Release -j$(nproc)
2024-07-17 21:38:27 -04:00
2024-07-18 05:05:35 -04:00
cp speech2/bin/x86/Release/speech2.dll SAPIServer/bin/Release/net40/windows-x86
cp /usr/i686-w64-mingw32/bin/libgcc_s_dw2-1.dll SAPIServer/bin/Release/net40/windows-x86/
cp /usr/i686-w64-mingw32/bin/libstdc++-6.dll SAPIServer/bin/Release/net40/windows-x86/
build-debug:
dotnet build -c Debug
make -C speech2 CONFIG=Release -j$(nproc)
cp speech2/bin/x86/Release/speech2.dll SAPIServer/bin/Debug/net40/windows-x86
2024-07-18 05:05:35 -04:00
cp /usr/i686-w64-mingw32/bin/libgcc_s_dw2-1.dll SAPIServer/bin/Debug/net40/windows-x86/
cp /usr/i686-w64-mingw32/bin/libstdc++-6.dll SAPIServer/bin/Debug/net40/windows-x86/
2024-07-17 21:38:27 -04:00
clean:
rm -rf SAPIServer/bin SAPIServer/obj
make -C speech2 clean
2024-07-18 03:54:12 -04:00
format:
cd SAPIServer; for f in *.cs; do clang-format -i $f; done; cd ..;