Upgrading dependencies to gorealis v2 and thrift 0.12.0
This commit is contained in:
parent
7cbbea498b
commit
54b8d7942a
1327 changed files with 137391 additions and 61476 deletions
38
vendor/git.apache.org/thrift.git/lib/php/test/Makefile.am
generated
vendored
38
vendor/git.apache.org/thrift.git/lib/php/test/Makefile.am
generated
vendored
|
@ -17,11 +17,11 @@
|
|||
# under the License.
|
||||
#
|
||||
|
||||
THRIFT = $(top_builddir)/compiler/cpp/thrift
|
||||
PHPUNIT=php $(top_srcdir)/vendor/bin/phpunit
|
||||
|
||||
stubs: ../../../test/ThriftTest.thrift TestValidators.thrift
|
||||
mkdir -p ./packages
|
||||
$(THRIFT) --gen php -r --out ./packages ../../../test/ThriftTest.thrift
|
||||
mkdir -p ./packages/php
|
||||
$(THRIFT) --gen php -r --out ./packages/php ../../../test/ThriftTest.thrift
|
||||
mkdir -p ./packages/phpv
|
||||
mkdir -p ./packages/phpvo
|
||||
mkdir -p ./packages/phpjs
|
||||
|
@ -29,23 +29,21 @@ stubs: ../../../test/ThriftTest.thrift TestValidators.thrift
|
|||
$(THRIFT) --gen php:validate,oop -r --out ./packages/phpvo TestValidators.thrift
|
||||
$(THRIFT) --gen php:json -r --out ./packages/phpjs TestValidators.thrift
|
||||
|
||||
check-json-serializer: stubs
|
||||
if HAVE_PHPUNIT
|
||||
$(PHPUNIT) --log-junit=TEST-json-serializer.xml Test/Thrift/JsonSerialize/
|
||||
endif
|
||||
deps: $(top_srcdir)/composer.json
|
||||
composer install --working-dir=$(top_srcdir)
|
||||
|
||||
check-validator: stubs
|
||||
php Test/Thrift/TestValidators.php
|
||||
php Test/Thrift/TestValidators.php -oop
|
||||
all-local: deps
|
||||
|
||||
check-protocol: stubs
|
||||
if HAVE_PHPUNIT
|
||||
$(PHPUNIT) --log-junit=TEST-log-json-protocol.xml Test/Thrift/Protocol/TestTJSONProtocol.php
|
||||
$(PHPUNIT) --log-junit=TEST-binary-serializer.xml Test/Thrift/Protocol/TestBinarySerializer.php
|
||||
$(PHPUNIT) --log-junit=TEST-log-simple-json-protocol.xml Test/Thrift/Protocol/TestTSimpleJSONProtocol.php
|
||||
endif
|
||||
check-json-serializer: deps stubs
|
||||
$(PHPUNIT) --log-junit=TEST-log-json-serializer.xml JsonSerialize/
|
||||
|
||||
check: stubs \
|
||||
check-validator: deps stubs
|
||||
$(PHPUNIT) --log-junit=TEST-log-validator.xml Validator/
|
||||
|
||||
check-protocol: deps stubs
|
||||
$(PHPUNIT) --log-junit=TEST-log-protocol.xml Protocol/
|
||||
|
||||
check: deps stubs \
|
||||
check-protocol \
|
||||
check-validator \
|
||||
check-json-serializer
|
||||
|
@ -53,9 +51,3 @@ check: stubs \
|
|||
clean-local:
|
||||
$(RM) -r ./packages
|
||||
$(RM) TEST-*.xml
|
||||
|
||||
EXTRA_DIST = \
|
||||
Test \
|
||||
TestValidators.thrift
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue