Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Add some comments to travis.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
paxswill committed Oct 2, 2016
1 parent 213f9a4 commit d5ae594
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions travis.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ install-coveralls:

deploy_key: deploy_key.enc
@printf "Decrypting deploy key\n"
# The '@' is VERY important here. Without is Make will echo the command to
# stdout, revealing the encryption keys.
@openssl \
aes-256-cbc \
-K $(encrypted_20e576b606a4_key) \
Expand Down Expand Up @@ -60,9 +62,13 @@ gh-pages/test_reports/index.html: $(BUILD_REPORT_DIR)/index.html
gh-pages/test_reports \
$(TEST_DIRS)

# TEST_REPORTS is a list of each .html file that needs to be copied
TEST_REPORTS := $(notdir $(wildcard test-reports/*.html))
# BUILD_REPORTS is a list of what files should exist (the targets)
BUILD_REPORTS := $(addprefix $(BUILD_REPORT_DIR)/, $(TEST_REPORTS))
$(BUILD_REPORTS): $(BUILD_REPORT_DIR)
# This specifies a static pattern rule for copying the test reports to the
# build report directory.
$(BUILD_REPORTS): $(BUILD_REPORT_DIR)/%.html: test-reports/%.html
cp -f "$<" "$@"

Expand Down

0 comments on commit d5ae594

Please sign in to comment.