Skip to content

Commit 541c08d

Browse files
committedMar 7, 2018
[Travis] Dynamically get FRAMEWORK_NAME from file
1 parent e69f9a6 commit 541c08d

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎.travis.yml

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ env:
1010
global:
1111
- LC_CTYPE=en_US.UTF-8
1212
- LANG=en_US.UTF-8
13-
- FRAMEWORK_NAME="Hexe"
1413

1514
install: ./Scripts/install.sh
1615
script: ./Scripts/travis.sh

‎Scripts/travis.sh

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
set -e -o pipefail
44

5+
FRAMEWORK_NAME=$(ls | grep ".xcodeproj" | sed "s/.xcodeproj//g")
6+
57
function build() {
68
xcodebuild \
79
-project $FRAMEWORK_NAME.xcodeproj \

0 commit comments

Comments
 (0)
Please sign in to comment.