mirror of
https://github.com/dart-lang/sdk
synced 2024-09-30 04:08:32 +00:00
3914a030ac
Change-Id: Ief1cb7e3592269b9cbf2556e75e2598ebdd9d6ab Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/386781 Reviewed-by: Martin Kustermann <kustermann@google.com> Auto-Submit: Alexander Thomas <athom@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com> |
||
---|---|---|
generated | ||
lib | ||
.style.yapf | ||
analyzer.star | ||
cfe.star | ||
codereview.settings | ||
console-header.textpb | ||
cq.star | ||
dart2js.star | ||
dart2wasm.star | ||
ddc.star | ||
main.star | ||
monorepo.star | ||
OWNERS | ||
pkg.star | ||
PRESUBMIT.py | ||
project.star | ||
README.md | ||
sdk.star | ||
vm.star |
infra/config branch
This branch contains dart project-wide configurations for infra services. For example, cr-buildbucket.cfg defines builders that run on the dart waterfall and commit queue.
Making changes
It is recommended to have a separate checkout for this branch, so switching to/from this branch does not populate/delete all files in the master branch.
Most files in this branch are generated from main.star
. Run ./main.star
to
regenerate them after changes have been made. Files that are auto-generated must
not be modified manually, and they have a file header that states that they are.
Initial setup:
mkdir config
cd config
git init
git remote add origin https://dart.googlesource.com/sdk
git fetch origin infra/config
git reset --hard origin/infra/config
git config depot-tools.upstream origin/infra/config
Now you can create a new branch to make changes:
git new-branch add-new-builder
# edit main.star
./main.star # generate Luci config files
git commit -a
git cl upload