Skip to content

Commit

Permalink
run colored cout snippet in Windows if available (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellKod authored Nov 29, 2022
1 parent dc1e72b commit e1c343d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@ build_script:
cd Release
ls -a
[ -f example_coloredcout.exe ] && example_coloredcout.exe || true
[ -f example_coloredcout ] && ./example_coloredcout || true
[ -f example_logrotate_and_filter.exe ] && example_logrotate_and_filter.exe || true
# Us this for validation after changes: https://ci.appveyor.com/tools/validate-yaml

# Lazy safe, using this for running it local
Expand Down
5 changes: 4 additions & 1 deletion scripts/buildAndRunTests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,8 @@ cmake --build .
ctest -V
sudo make install

# TODO KjellKod: run all examples
# run one snipped example
cd examples
[ -f example_coloredcout ] && ./example_coloredcout || true
[ -f example_logrotate_and_filter ] && ./example_logrotate_and_filter || true

0 comments on commit e1c343d

Please sign in to comment.