From 9448135fcd50664b2ee6f7348e54ab0e2c62cdb0 Mon Sep 17 00:00:00 2001 From: Julio Barba Date: Mon, 16 Dec 2019 11:51:08 -0500 Subject: [PATCH] Replace a few more instances Agent -> Runner (#228) --- src/Misc/layoutroot/run.sh | 4 ++-- src/dev.sh | 6 +++--- src/dir.proj | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Misc/layoutroot/run.sh b/src/Misc/layoutroot/run.sh index 0dd186721..827290ec4 100755 --- a/src/Misc/layoutroot/run.sh +++ b/src/Misc/layoutroot/run.sh @@ -26,8 +26,8 @@ if [[ "$1" == "localRun" ]]; then else "$DIR"/bin/Runner.Listener run $* -# Return code 4 means the run once agent received an update message. -# Sleep 5 seconds to wait for the update process finish and run the agent again. +# Return code 4 means the run once runner received an update message. +# Sleep 5 seconds to wait for the update process finish and run the runner again. returnCode=$? if [[ $returnCode == 4 ]]; then if [ ! -x "$(command -v sleep)" ]; then diff --git a/src/dev.sh b/src/dev.sh index 681f9b959..8cd3871e0 100755 --- a/src/dev.sh +++ b/src/dev.sh @@ -109,13 +109,13 @@ function heading() function build () { heading "Building ..." - dotnet msbuild -t:Build -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:AgentVersion="${RUNNER_VERSION}" || failed build + dotnet msbuild -t:Build -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:RunnerVersion="${RUNNER_VERSION}" || failed build } function layout () { heading "Create layout ..." - dotnet msbuild -t:layout -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:AgentVersion="${RUNNER_VERSION}" || failed build + dotnet msbuild -t:layout -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:RunnerVersion="${RUNNER_VERSION}" || failed build #change execution flag to allow running with sudo if [[ ("$CURRENT_PLATFORM" == "linux") || ("$CURRENT_PLATFORM" == "darwin") ]]; then @@ -139,7 +139,7 @@ function runtest () export GITHUB_RUNNER_SRC_DIR=${SCRIPT_DIR} - dotnet msbuild -t:test -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:AgentVersion="${RUNNER_VERSION}" || failed "failed tests" + dotnet msbuild -t:test -p:PackageRuntime="${RUNTIME_ID}" -p:BUILDCONFIG="${BUILD_CONFIG}" -p:RunnerVersion="${RUNNER_VERSION}" || failed "failed tests" } function package () diff --git a/src/dir.proj b/src/dir.proj index 6b0f4a4b2..1c91e0cf5 100644 --- a/src/dir.proj +++ b/src/dir.proj @@ -19,7 +19,7 @@ - + @@ -40,7 +40,7 @@ - +