Skip to content

Commit

Permalink
Testing TeamCity build integration
Browse files Browse the repository at this point in the history
  • Loading branch information
Martinho Fernandes committed Nov 28, 2013
1 parent 713e0ab commit a35d815
Show file tree
Hide file tree
Showing 4 changed files with 6,285 additions and 5,160 deletions.
3 changes: 2 additions & 1 deletion bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def object_file(fn):

parser = argparse.ArgumentParser()
parser.add_argument('--cxx', default='g++', metavar='executable', help='compiler name to use (default: g++)')
parser.add_argument('--teamcity', action='store_true', default=False, help='prepares a build to run on TeamCity (default: no)')
args = parser.parse_args()

# ---
Expand Down Expand Up @@ -70,7 +71,7 @@ def object_file(fn):

test_runner = 'bin/test'
ninja.rule('test',
command = test_runner,
command = test_runner + (' -r teamcity' if args.teamcity else ''),
description = 'TEST')

ninja.rule('dist',
Expand Down
Loading

0 comments on commit a35d815

Please sign in to comment.