Skip to content

Commit

Permalink
Rename .props -> .targets
Browse files Browse the repository at this point in the history
  • Loading branch information
lilith committed Jun 9, 2020
1 parent 35c53b5 commit 2f2ac41
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions ci/pack_nuget/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mkdir -p "$STAGING_DIR" || true

RELEASE_DIR="${SCRIPT_DIR}/../../target/release/"
RUNTIME_DIR="runtimes/${NUGET_RUNTIME}/native/"
PROPS_PATH="build/net45/${NUGET_PACKAGE_NAME}.props"
PROPS_PATH="build/net45/${NUGET_PACKAGE_NAME}.targets"
NUGET_OUTPUT_DIR="${SCRIPT_DIR}/../../artifacts/nuget"
NUGET_OUTPUT_FILE="${NUGET_OUTPUT_DIR}/${NUGET_COMBINED_NAME}.nupkg"
echo RELEASE_DIR=${RELEASE_DIR}
Expand Down Expand Up @@ -78,11 +78,11 @@ mkdir -p "$STAGING_DIR" || true
if [[ "${NUGET_RUNTIME}" == *'x64'* ]]; then
# add props
mkdir -p build/net45
cat ../../imageflow_x64.props | sed -e "s/:rid:/$NUGET_RUNTIME/g" > "$PROPS_PATH"
cat ../../imageflow_x64.targets | sed -e "s/:rid:/$NUGET_RUNTIME/g" > "$PROPS_PATH"
elif [[ "${NUGET_RUNTIME}" == *'x86'* ]]; then
# add props
mkdir -p build/net45
cat ../../imageflow_x86.props | sed -e "s/:rid:/$NUGET_RUNTIME/g" > "$PROPS_PATH"
cat ../../imageflow_x86.targets | sed -e "s/:rid:/$NUGET_RUNTIME/g" > "$PROPS_PATH"
fi
fi

Expand Down

0 comments on commit 2f2ac41

Please sign in to comment.