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.4 | 3 Version: 0.9.4 |
4 Revision: d4caf6b40658b9c43bbfc5794d37ae34d6ff0486 | 4 Revision: 14890ce3429471e7a0becfed94122270d86b7f4e |
5 Security Critical: no | 5 Security Critical: no |
6 License: Apache 2.0 | 6 License: Apache 2.0 |
7 License File: LICENSE | 7 License File: LICENSE |
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 To update this copy of typ from the source repo (assuming you are in | 15 To update this copy of typ from the source repo (assuming you are in |
16 the same directory as this file). | 16 the same directory as this file). |
17 | 17 |
18 # can just do "sed -n '/^ /p' README.chromium | bash -e" | 18 # can just do "sed -n '/^ /p' README.chromium | bash -e" |
19 cd .. | 19 cd .. |
20 git clone https://github.com/dpranke/typ.git typ_new | 20 git clone https://github.com/dpranke/typ.git typ_new |
21 revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }') | 21 revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }') |
22 version=$(cd typ_new && python -m typ --version) | 22 version=$(cd typ_new && python -m typ --version) |
23 cp typ/OWNERS typ_new | 23 cp typ/OWNERS typ_new |
24 cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \ | 24 cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \ |
25 -e "s/^Revision: .*/Revision: $revision/" \ | 25 -e "s/^Revision: .*/Revision: $revision/" \ |
26 > typ_new/README.chromium | 26 > typ_new/README.chromium |
27 rm -fr typ_new/.git typ_new/.gitignore typ/ | 27 rm -fr typ_new/.git typ_new/.gitignore typ/ |
28 mv typ_new typ | 28 mv typ_new typ |
OLD | NEW |