mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
makefile is used by the make command to compile the code for the Agent binary
This commit is contained in:
parent
3c394ab346
commit
b3ad1671c0
18
Agent/makefile
Normal file
18
Agent/makefile
Normal file
@ -0,0 +1,18 @@
|
||||
|
||||
# Notes:
|
||||
# Possibly use the automake suite to build this, but since this is package is geared towards both Windows and Linux, I do not think it prudent.
|
||||
|
||||
currentversion=2021.03.04
|
||||
|
||||
all:
|
||||
@ echo "This is help with compiling the Agent. This assumes you have the dotnet application installed."
|
||||
@ echo "You should now run: make build"
|
||||
|
||||
build:
|
||||
#dotnet build Agent.csproj
|
||||
dotnet publish /p:Version=$(currentversion) /p:FileVersion=$(currentversion) --runtime linux-x64 --configuration Release -p:PublishTrimmed=True --output ".\bin\Release\net5.0\linux-x64\publish" "..\Agent"
|
||||
|
||||
package:
|
||||
zip -r linux-x64.zip ./bin/Release/net5.0/linux-x64.zip
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user