Commit ab3ab0118d517e14971242a3a0d83b3db81979c1
1 parent
9cd074f5
Adding badge, printout for script
Showing
2 changed files
with
3 additions
and
0 deletions
README.md
| 1 | [](https://travis-ci.org/henryiii/CLI11) | 1 | [](https://travis-ci.org/henryiii/CLI11) |
| 2 | +[](https://ci.appveyor.com/project/HenrySchreiner/cli11) | ||
| 2 | [](https://gitter.im/CLI11gitter/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | 3 | [](https://gitter.im/CLI11gitter/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) |
| 3 | [](./LICENSE) | 4 | [](./LICENSE) |
| 4 | 5 |
scripts/MakeSingleHeader.py
| @@ -15,6 +15,8 @@ includes_system = re.compile(r"""^#include \<(.*)\>$""", re.MULTILINE) | @@ -15,6 +15,8 @@ includes_system = re.compile(r"""^#include \<(.*)\>$""", re.MULTILINE) | ||
| 15 | DIR = Path(__file__).resolve().parent | 15 | DIR = Path(__file__).resolve().parent |
| 16 | BDIR = DIR.parent / 'include' | 16 | BDIR = DIR.parent / 'include' |
| 17 | 17 | ||
| 18 | +print("Git directory:", DIR) | ||
| 19 | + | ||
| 18 | TAG = check_output(['git', 'describe', '--tags', '--always'], cwd=str(DIR)).decode("utf-8") | 20 | TAG = check_output(['git', 'describe', '--tags', '--always'], cwd=str(DIR)).decode("utf-8") |
| 19 | 21 | ||
| 20 | def MakeHeader(out): | 22 | def MakeHeader(out): |