Skip to content

Commit

Permalink
Correct cc.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Jun 3, 2018
1 parent 9a30277 commit 22c563b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cc.sh
Expand Up @@ -6,6 +6,7 @@ TESTS_PROJECT="${MAIN_PROJECT}.Tests"
SOLUTION="${MAIN_PROJECT}.sln"
CONFIGURATION="Release"
OUT="out/source"
TARGET_FRAMEWORK="netcoreapp2.1"

CLEAN=0
LINK_DURING_PUBLISH=1
Expand Down Expand Up @@ -52,7 +53,7 @@ if [[ ! -f "$SOLUTION" ]]; then
exit 1
fi

DOTNET_FLAGS=(-c "$CONFIGURATION" -o "$OUT" '/nologo')
DOTNET_FLAGS=(-c "$CONFIGURATION" -f "$TARGET_FRAMEWORK" -o "$OUT" '/nologo')

if [[ "$LINK_DURING_PUBLISH" -eq 0 ]]; then
DOTNET_FLAGS+=('/p:LinkDuringPublish=false')
Expand Down

0 comments on commit 22c563b

Please sign in to comment.