File tree 5 files changed +9
-88
lines changed
5 files changed +9
-88
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
cd " $( dirname " $0 " ) "
3
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
-
4
+ plutil -convert json -r ./emptyExample.xcodeproj/project.pbxproj
25
5
echo " OF XCode template conversion to JSON complete"
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+ cd " $( dirname " $0 " ) "
3
+
4
+ plutil -convert json -r ./emptyExample.xcodeproj/project.pbxproj
5
+ echo " OF XCode template conversion to JSON complete"
6
+
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
cd " $( dirname " $0 " ) "
3
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
-
4
+ plutil -convert json -r ./emptyExample.xcodeproj/project.pbxproj
25
5
echo " OF XCode template conversion to JSON complete"
Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
2
cd " $( dirname " $0 " ) "
3
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
-
4
+ plutil -convert json -r ./emptyExample.xcodeproj/project.pbxproj
25
5
echo " OF XCode template conversion to JSON complete"
You can’t perform that action at this time.
0 commit comments