Skip to content

Commit 8a1aa20

Browse files
committed
Reference build dir to get correct sha
1 parent 8bf692b commit 8a1aa20

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Tests/Carthage/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Carthage/
2+
Cartfile
23
Cartfile.resolved

Tests/Carthage/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ CARTHAGE_ARGS := --no-use-binaries
66
CARTHAGE_TOOLCHAIN := com.apple.dt.toolchain.Swift_3_0
77
CARTHAGE_CMDLINE := --configuration $(CARTHAGE_CONFIGURATION) --platform $(CARTHAGE_PLATFORM) --toolchain $(CARTHAGE_TOOLCHAIN) $(CARTHAGE_ARGS)
88
TRAVIS_COMMIT ?= master
9-
TRAVIS_REPO_SLUG ?= stephencelis/SQLite.swift
9+
TRAVIS_BUILD_DIR ?= https://github.com/stephencelis/SQLite.swift.git
1010

1111
test: $(CARTHAGE) Cartfile
1212
$< bootstrap $(CARTHAGE_CMDLINE)
1313

1414
Cartfile:
15-
echo 'github "$(TRAVIS_REPO_SLUG)" "$(TRAVIS_COMMIT)"' > $@
15+
echo 'git "$(TRAVIS_BUILD_DIR)" "$(TRAVIS_COMMIT)"' > $@
16+
17+
clean:
18+
@rm -f Cartfile Cartfile.resolved

0 commit comments

Comments
 (0)