Fix systemd activation tests (#1429)

This commit is contained in:
Stephen Halter 2017-03-02 17:26:41 -08:00 committed by GitHub
parent 8929b40527
commit 1e0f2b3951
1 changed files with 1 additions and 6 deletions

View File

@ -2,13 +2,8 @@
set -e
# Ensure that dotnet is added to the PATH.
# build.sh should always be run before this script to create the .build/ directory and restore packages.
scriptDir=$(dirname "${BASH_SOURCE[0]}")
repoDir=$(cd $scriptDir/../../.. && pwd)
source ./.build/KoreBuild.sh -r $repoDir --quiet
dotnet publish -f netcoreapp1.1 ./samples/SampleApp/
~/.dotnet/dotnet publish -f netcoreapp1.1 ./samples/SampleApp/
cp -R ./samples/SampleApp/bin/Debug/netcoreapp1.1/publish/ $scriptDir
cp -R ~/.dotnet/ $scriptDir