mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add better CIPD docs. (flutter/engine#10185)
Also commits cipd.yaml to source.
This commit is contained in:
parent
c6a22f391a
commit
0f980e5e01
@ -55,11 +55,14 @@ runtime, but not compile time. If so you'll just need to update
|
||||
|
||||
See the Chromium instructions on ["Updating a CIPD
|
||||
dependency"](https://chromium.googlesource.com/chromium/src/+/master/docs/cipd.md#Updating-a-CIPD-dependency)
|
||||
for how to upload a package update to CIPD.
|
||||
for how to upload a package update to CIPD. Download and extract the latest
|
||||
package from CIPD and then copy
|
||||
[shell/platform/android/test/cipd.yaml](cipd.yaml) into the extracted directory
|
||||
to use as the base for the pre-existing package. Add new dependencies to `lib/`.
|
||||
|
||||
Once you've done that, also make sure to tag the new package version with the
|
||||
updated timestamp and robolectric version (most likely still 3.8, unless you've
|
||||
migrated all the packges to 4+).
|
||||
Once you've uploaded the new version, also make sure to tag it with the updated
|
||||
timestamp and robolectric version (most likely still 3.8, unless you've migrated
|
||||
all the packges to 4+).
|
||||
|
||||
$ cipd set-tag --version=<new_version_hash> -tag "last_updated:<timestamp>"
|
||||
$ cipd set-tag --version=<new_version_hash> -tag "robolectric_version:<robolectric_version>"
|
||||
|
||||
4
engine/src/flutter/shell/platform/android/test/cipd.yaml
Normal file
4
engine/src/flutter/shell/platform/android/test/cipd.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
package: flutter/android/robolectric_bundle
|
||||
description: Robolectric 3.8 and associated runtime dependencies.
|
||||
data:
|
||||
- dir: lib
|
||||
Loading…
x
Reference in New Issue
Block a user