forked from redbooth/protobuf-objc
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update build scripts and regenerate tests
- Loading branch information
Showing
44 changed files
with
25,899 additions
and
3,014 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
language: objective-c | ||
before_install: | ||
- brew update | ||
- brew unlink xctool | ||
- brew install xctool --HEAD | ||
- brew install protobuf | ||
- ./build.sh | ||
- ./travis/travis.sh | ||
- brew update | ||
- brew uninstall xctool | ||
- brew install xctool --HEAD | ||
- xctool -v | ||
- brew install protobuf | ||
install: | ||
- scripts/build.sh | ||
- scripts/makeTests.sh | ||
script: xctool -project ./src/runtime/ProtocolBuffers.xcodeproj -sdk iphonesimulator -scheme ProtocolBuffers build test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -ex | ||
|
||
./autogen.sh | ||
./configure CXXFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib | ||
make clean | ||
make -j8 && make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -ex | ||
|
||
compiler_root=src/compiler | ||
|
||
PATH=$PATH:$compiler_root | ||
|
||
# we need this for bootstrapping | ||
protoc -I$compiler_root $compiler_root/google/protobuf/{,objectivec-}descriptor.proto --cpp_out=$compiler_root | ||
|
||
# build the objc generator | ||
scripts/build.sh | ||
|
||
# compile the objc descriptors into the runtime library | ||
protoc -I$compiler_root $compiler_root/google/protobuf/{,objectivec-}descriptor.proto --objc_out=src/runtime/Classes/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -ex | ||
|
||
compiler_root=src/compiler | ||
|
||
PATH=$PATH:$compiler_root | ||
|
||
# compile the unit tests into the runtime library's fixture directory | ||
protoc -I$compiler_root $compiler_root/google/protobuf/unittest*.proto --objc_out=src/runtime/Tests/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.