OLD | NEW |
1 Name: typ | 1 Name: typ |
2 URL: https://github.com/dpranke/typ.git | 2 URL: https://github.com/dpranke/typ.git |
3 Version: 0.9.9 | 3 Version: 0.9.10 |
4 Revision: d77f1a5b246a0bbf04eee73c0bef134bf7a7dbcd | 4 Revision: 5822dda0e2d07fb97290b0b2efdc03316960faf6 |
5 Security Critical: no | 5 Security Critical: no |
6 License: Apache 2.0 | 6 License: Apache 2.0 |
7 License File: NOT_SHIPPED | 7 License File: NOT_SHIPPED |
8 | 8 |
9 Description: | 9 Description: |
10 | 10 |
11 typ is a simple wrapper around Python's unittest library that provides a | 11 typ is a simple wrapper around Python's unittest library that provides a |
12 somewhat nicer command-line interface, parallel test execution, | 12 somewhat nicer command-line interface, parallel test execution, |
13 code coverage support, and support for Chromium's JSON Results format. | 13 code coverage support, and support for Chromium's JSON Results format. |
14 | 14 |
15 This code is not considered security critical since it is only to be linked | 15 This code is not considered security critical since it is only to be linked |
16 into test binaries! This should never be linked into chrome or any production | 16 into test binaries! This should never be linked into chrome or any production |
17 code. | 17 code. |
18 | 18 |
19 To update this copy of typ from the source repo (assuming you are in | 19 To update this copy of typ from the source repo (assuming you are in |
20 src/third_party/typ): | 20 src/third_party/typ): |
21 | 21 |
22 # can just do "sed -n '/^ /p' README.chromium | bash -e" | 22 # can just do "sed -n '/^ /p' README.chromium | bash -e" |
23 cd .. | 23 cd .. |
24 git clone https://github.com/dpranke/typ.git typ_new | 24 git clone https://github.com/dpranke/typ.git typ_new |
25 revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }') | 25 revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }') |
26 version=$(cd typ_new && python -m typ --version) | 26 version=$(cd typ_new && python -m typ --version) |
27 cp typ/OWNERS typ_new | 27 cp typ/OWNERS typ_new |
28 cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \ | 28 cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \ |
29 -e "s/^Revision: .*/Revision: $revision/" \ | 29 -e "s/^Revision: .*/Revision: $revision/" \ |
30 > typ_new/README.chromium | 30 > typ_new/README.chromium |
31 rm -fr typ_new/.git typ_new/.gitignore typ/ | 31 rm -fr typ_new/.git typ_new/.gitignore typ/ |
32 mv typ_new typ | 32 mv typ_new typ |
OLD | NEW |