Skip to content

Commit

Permalink
add very simple test
Browse files Browse the repository at this point in the history
  • Loading branch information
samsalisbury committed Jun 20, 2019
1 parent 755d352 commit 1c9c7aa
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
copythis.circleci/config/
copythis.circleci/config.yml
.tmp/
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Do not copy this Makefile to your project.
# This Makefile is to help with maintenance and testing
# of the stuff in copythis.circleci.

# TD is the test directory. It should be in .gitignore.
TD := ".tmp/test"
TESTMAKE := make -C $(TD)

# For now, test just invokes ci-config and ci-verify
# and checks they exit successfully.
.PHONY: test
test:
rm -rf $(TD); mkdir -p $(TD); cp copythis.circleci/Makefile $(TD)/
$(TESTMAKE) init
$(TESTMAKE) ci-config
$(TESTMAKE) ci-verify

0 comments on commit 1c9c7aa

Please sign in to comment.