Add devcontainer configurations for source build (#14084)
* Add devcontainer configurations for source build
This commit is contained in:
parent
c27dc5d1e4
commit
98d5be7aaa
5 changed files with 63 additions and 0 deletions
8
.devcontainer/source-build-scripts/buildTarball.sh
Executable file
8
.devcontainer/source-build-scripts/buildTarball.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
./.devcontainer/source-build-scripts/createTarball.sh
|
||||
|
||||
cd $(realpath ..)/dotnet-source/
|
||||
|
||||
./prep.sh
|
||||
./build.sh --online --clean-while-building || true
|
7
.devcontainer/source-build-scripts/createTarball.sh
Executable file
7
.devcontainer/source-build-scripts/createTarball.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Always return exit code 0 so that we can use the codespaces prebuild to diagnose build errors.
|
||||
./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=$(realpath ..)/dotnet-source/ /p:PreserveTarballGitFolders=true || true
|
||||
|
||||
# Save the commit hash of the currently built repo, so developers know which version was built
|
||||
git rev-parse HEAD > ./artifacts/prebuild.sha
|
Loading…
Add table
Add a link
Reference in a new issue