-
-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure Unity publishing works without disrupting other targets (#152)
* Ensure Unity publishing works without disrupting other targets * Remove target framework property from Arch project
- Loading branch information
1 parent
f480a31
commit a412ba9
Showing
2 changed files
with
7 additions
and
4 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 |
---|---|---|
@@ -1,13 +1,18 @@ | ||
#!/bin/bash | ||
|
||
# Publishes Unity release to dist/Assemblies using only netstandard2.0 and netstandard2.1 | ||
# Does NOT include source generation | ||
######################################################################################### | ||
|
||
dotnet restore | ||
|
||
assemblyDir="`pwd`/dist/Assemblies" | ||
|
||
rm -rf "${assemblyDir}" | ||
|
||
mkdir -p "${assemblyDir}" | ||
|
||
dotnet msbuild /t:Unity -p:PublishDir="${assemblyDir}" | ||
dotnet msbuild /t:Unity \ | ||
-p:PublishDir="${assemblyDir}" \ | ||
-p:TargetFramework=netstandard2.1 \ | ||
-p:TargetFrameworks=netstandard2.1 \ | ||
-p:TargetFrameworkVersion=v2.1 |