Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(174)

Side by Side Diff: third_party/typ/README.chromium

Issue 3017623002: Roll typ to the latest version
Patch Set: Created 3 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/typ/setup.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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.12 3 Version: 0.11.0
4 Revision: 2b5a4fcf7c103323f9c6cd8d8127d740e78c0fe8 4 Revision: 4b1eb346fb1fde1b245b9f9fd872746242e05147
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
OLDNEW
« no previous file with comments | « no previous file | third_party/typ/setup.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698