Fix systemd activation tests (#1429)
This commit is contained in:
parent
8929b40527
commit
1e0f2b3951
|
|
@ -2,13 +2,8 @@
|
||||||
|
|
||||||
set -e
|
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]}")
|
scriptDir=$(dirname "${BASH_SOURCE[0]}")
|
||||||
repoDir=$(cd $scriptDir/../../.. && pwd)
|
~/.dotnet/dotnet publish -f netcoreapp1.1 ./samples/SampleApp/
|
||||||
source ./.build/KoreBuild.sh -r $repoDir --quiet
|
|
||||||
|
|
||||||
dotnet publish -f netcoreapp1.1 ./samples/SampleApp/
|
|
||||||
cp -R ./samples/SampleApp/bin/Debug/netcoreapp1.1/publish/ $scriptDir
|
cp -R ./samples/SampleApp/bin/Debug/netcoreapp1.1/publish/ $scriptDir
|
||||||
cp -R ~/.dotnet/ $scriptDir
|
cp -R ~/.dotnet/ $scriptDir
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue