Files
yavsc/Makefile
Paul Schneider f914d712e2
Some checks failed
Dotnet build and test / log-the-inputs (push) Failing after 3s
Dotnet build and test / build (push) Failing after 1s
re-init de la liste des migrations
2025-08-18 09:22:09 +01:00

35 lines
861 B
Makefile

CONFIG=Debug
FRAMEWORK=net8.0
DESTDIR=/tmp/yavsc
clean:
dotnet clean
src/Yavsc/bin/output/wwwroot:
dotnet --project src/Yavsc/Yavsc.csproj publish
test:
dotnet test
web:
dotnet watch -p:Configuration=$(CONFIG) --project src/Yavsc/Yavsc.csproj
src/Yavsc.Abstract/bin/$(CONFIG)/$(FRAMEWORK)/Yavsc.Abstract.dll:
dotnet build -p:Configuration=$(CONFIG) --project src/Yavsc.Abstract/Yavsc.Abstract.csproj
src/Yavsc.Server/bin/$(CONFIG)/$(FRAMEWORK)/Yavsc.Server.dll:
dotnet build -p:Configuration=$(CONFIG) --project src/Yavsc.Server/Yavsc.Server.csproj
src/Yavsc/bin/$(CONFIG)/$(FRAMEWORK)/Yavsc.dll:
dotnet build -p:Configuration=$(CONFIG) --project src/Yavsc/Yavsc.csproj
publish:
dotnet publish src/Yavsc/Yavsc.csproj -c Release -o $(DESTDIR)/srv/www/yavsc
install: publish
sudo chown -R www-data:www-data $(DESTDIR)/srv/www/yavsc
.PHONY: