File tree Expand file tree Collapse file tree 4 files changed +76
-1
lines changed Expand file tree Collapse file tree 4 files changed +76
-1
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ cd " $( dirname " $0 " ) "
3
+
4
+ checkLib () {
5
+ for lib in " $@ "
6
+ do
7
+ if ! command -v $lib 2>&1 > /dev/null
8
+ then
9
+ echo " <$lib > not found, installing via brew"
10
+ executa brew install $lib
11
+ else
12
+ echo " $lib ok"
13
+ fi
14
+ done
15
+ }
16
+
17
+ checkLib jq
18
+
19
+ plutil -convert json ./emptyExample.xcodeproj/project.pbxproj
20
+ cd ./emptyExample.xcodeproj
21
+ mv project.pbxproj p.pbxproj
22
+ jq --tab . p.pbxproj > project.pbxproj
23
+ rm p.pbxproj
24
+
25
+ echo " OF XCode template conversion to JSON complete"
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ cd " $( dirname " $0 " ) "
3
+
4
+ checkLib () {
5
+ for lib in " $@ "
6
+ do
7
+ if ! command -v $lib 2>&1 > /dev/null
8
+ then
9
+ echo " <$lib > not found, installing via brew"
10
+ executa brew install $lib
11
+ else
12
+ echo " $lib ok"
13
+ fi
14
+ done
15
+ }
16
+
17
+ checkLib jq
18
+
19
+ plutil -convert json ./emptyExample.xcodeproj/project.pbxproj
20
+ cd ./emptyExample.xcodeproj
21
+ mv project.pbxproj p.pbxproj
22
+ jq --tab . p.pbxproj > project.pbxproj
23
+ rm p.pbxproj
24
+
25
+ echo " OF XCode template conversion to JSON complete"
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ cd " $( dirname " $0 " ) "
3
+
4
+ checkLib () {
5
+ for lib in " $@ "
6
+ do
7
+ if ! command -v $lib 2>&1 > /dev/null
8
+ then
9
+ echo " <$lib > not found, installing via brew"
10
+ executa brew install $lib
11
+ else
12
+ echo " $lib ok"
13
+ fi
14
+ done
15
+ }
16
+
17
+ checkLib jq
18
+
19
+ plutil -convert json ./emptyExample.xcodeproj/project.pbxproj
20
+ cd ./emptyExample.xcodeproj
21
+ mv project.pbxproj p.pbxproj
22
+ jq --tab . p.pbxproj > project.pbxproj
23
+ rm p.pbxproj
24
+
25
+ echo " OF XCode template conversion to JSON complete"
You can’t perform that action at this time.
0 commit comments