Set default Codespaces path to /workspaces
(#15356)
This commit is contained in:
parent
511beb79f3
commit
43d1152c04
2 changed files with 9 additions and 6 deletions
|
@ -16,9 +16,10 @@
|
|||
},
|
||||
"codespaces": {
|
||||
"openFiles": [
|
||||
".devcontainer/vmr-source-build/README.md"
|
||||
"installer/.devcontainer/vmr-source-build/README.md"
|
||||
]
|
||||
}
|
||||
},
|
||||
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/vmr-source-build/init.sh"
|
||||
"onCreateCommand": "${containerWorkspaceFolder}/installer/.devcontainer/vmr-source-build/init.sh",
|
||||
"workspaceFolder": "/workspaces"
|
||||
}
|
|
@ -19,11 +19,13 @@ git -C "$installer_dir" fetch --all --unshallow
|
|||
# We need this to figure out, which VMR branch to use
|
||||
vmr_branch=$(git log --pretty=format:'%D' HEAD^ | grep 'origin/' | head -n1 | sed 's@origin/@@' | sed 's@,.*@@')
|
||||
|
||||
"$installer_dir/eng/vmr-sync.sh" \
|
||||
--vmr "$vmr_dir" \
|
||||
--tmp "$tmp_dir" \
|
||||
--branch "$vmr_branch" \
|
||||
pushd "$installer_dir"
|
||||
"./eng/vmr-sync.sh" \
|
||||
--vmr "$vmr_dir" \
|
||||
--tmp "$tmp_dir" \
|
||||
--branch "$vmr_branch" \
|
||||
--debug
|
||||
popd
|
||||
|
||||
# Run prep.sh
|
||||
unset RepositoryName
|
||||
|
|
Loading…
Reference in a new issue