CONFIGURATION=Debug TARGETFV=net7.0 all: build-isn build-isnd build-%: src/% dotnet build -p:Configuration=$(CONFIGURATION) $^ pack-%: src/% dotnet pack $^ watch: dotnet watch --project=src/isnd test-push: isn push src/isn/bin/Debug/isn.*.nupkg clean-%: src/% rm -rf $^/bin $^/obj packs: pack-isn pack-isnd pack-isn.abst clean: clean-isnd clean-isn clean-isn.abst server-update: dotnet build -c Release src/isnd dotnet publish -c Release -f net7.0 src/isnd sudo systemctl stop isnd sudo cp -a src/isnd/bin/Release/net7.0/publish/* /srv/www/isnd sudo systemctl start isnd client-update: dotnet build -c Release src/isn # MAJ du client sudo cp -a src/isn/bin/Release/net7.0/* /usr/local/lib/isn sudo chown -R root:root /usr/local/lib/isn src/isn.abst/bin/Release/isn.abst.1.0.24.nupkg: dotnet pack src/isn.abst -c Release push-test: src/isn.abst/bin/Release/isn.abst.1.0.24.nupkg isn push -s "http://localhost:3002/v3/index.json" src/isn.abst/bin/Release/isn.abst.1.0.24.nupkg