Skip to content

Commit

Permalink
Merge pull request #10 from kasperk81/patch-5
Browse files Browse the repository at this point in the history
replace packages with source argument
  • Loading branch information
mattgodbolt authored Oct 24, 2023
2 parents a81c0ee + d594632 commit dd94b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ if [[ "$AOT_BUILD_NEEDED" -eq 1 ]]; then
"${DIR}/dotnet.sh" new console -o app
"${DIR}/dotnet.sh" add app package "Microsoft.DotNet.ILCompiler" --version "$PACKAGE_VERSION" --package-directory "${CORE_ROOT}"/aot -s "${CORE_ROOT}"/aot
"${DIR}/dotnet.sh" add app package "runtime.linux-x64.microsoft.dotnet.ilcompiler" --version "$PACKAGE_VERSION" --package-directory "${CORE_ROOT}"/aot -s "${CORE_ROOT}"/aot
"${DIR}/dotnet.sh" publish -p:PublishAot=true --packages "${CORE_ROOT}"/aot app
"${DIR}/dotnet.sh" publish -p:PublishAot=true --source "${CORE_ROOT}"/aot app

ILC="$(find "${CORE_ROOT}"/aot -type f -name ilc | head -1)"
if [[ "${VERSION:0:5}" == "trunk" || "${MAJOR_VERSION}" -ge 8 ]]; then PACKAGE_VERSION="$("${ILC}" --version)"; fi
Expand Down

0 comments on commit dd94b14

Please sign in to comment.