From ab3ab0118d517e14971242a3a0d83b3db81979c1 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Sun, 19 Feb 2017 16:32:04 -0500 Subject: [PATCH] Adding badge, printout for script --- README.md | 1 + scripts/MakeSingleHeader.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/README.md b/README.md index cc0907aa..45f98d63 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ [![Build Status](https://travis-ci.org/henryiii/CLI11.svg?branch=master)](https://travis-ci.org/henryiii/CLI11) +[![Build Status Windows](https://ci.appveyor.com/api/projects/status/github/henryiii/CLI11?branch=master&svg=true)](https://ci.appveyor.com/project/HenrySchreiner/cli11) [![Join the chat at https://gitter.im/CLI11gitter/Lobby](https://badges.gitter.im/CLI11gitter/Lobby.svg)](https://gitter.im/CLI11gitter/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![License: LGPL v2.1](https://img.shields.io/badge/License-LGPL%20v2.1-blue.svg)](./LICENSE) diff --git a/scripts/MakeSingleHeader.py b/scripts/MakeSingleHeader.py index 947bdd00..ad3431a8 100755 --- a/scripts/MakeSingleHeader.py +++ b/scripts/MakeSingleHeader.py @@ -15,6 +15,8 @@ includes_system = re.compile(r"""^#include \<(.*)\>$""", re.MULTILINE) DIR = Path(__file__).resolve().parent BDIR = DIR.parent / 'include' +print("Git directory:", DIR) + TAG = check_output(['git', 'describe', '--tags', '--always'], cwd=str(DIR)).decode("utf-8") def MakeHeader(out):