-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from RecursiveProgrammer/master
Address Ubuntu Error with Agent
- Loading branch information
Showing
3 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters