• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Name: typ
2URL: https://github.com/dpranke/typ.git
3Version: 0.9.5
4Revision: a277897604718c50b8353b4bce15d6b78cacdfca
5Security Critical: no
6License: Apache 2.0
7License File: LICENSE
8
9Description:
10
11typ is a simple wrapper around Python's unittest library that provides a
12somewhat nicer command-line interface, parallel test execution,
13code coverage support, and support for Chromium's JSON Results format.
14
15To update this copy of typ from the source repo (assuming you are in
16the same directory as this file).
17
18    # can just do "sed -n '/^   /p' README.chromium | bash -e"
19    cd ..
20    git clone https://github.com/dpranke/typ.git typ_new
21    revision=$(cd typ_new && git log -1 | head -1 | awk '{ print $2 }')
22    version=$(cd typ_new && python -m typ --version)
23    cp typ/OWNERS typ_new
24    cat typ/README.chromium | sed -e "s/^Version: .*/Version: $version/" \
25                                  -e "s/^Revision: .*/Revision: $revision/" \
26                                  > typ_new/README.chromium
27    rm -fr typ_new/.git typ_new/.gitignore typ/
28    mv typ_new typ
29