diff options
author | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
---|---|---|
committer | Anton Luka Šijanec <anton@sijanec.eu> | 2024-05-27 13:08:29 +0200 |
commit | 75160b12821f7f4299cce7f0b69c83c1502ae071 (patch) | |
tree | 27e25e4ccaef45f0c58b22831164050d1af1d4db /vendor/stripe/stripe-php/Makefile | |
parent | prvi-commit (diff) | |
download | 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.gz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.bz2 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.lz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.xz 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.tar.zst 1ka-75160b12821f7f4299cce7f0b69c83c1502ae071.zip |
Diffstat (limited to '')
-rw-r--r-- | vendor/stripe/stripe-php/Makefile | 75 |
1 files changed, 39 insertions, 36 deletions
diff --git a/vendor/stripe/stripe-php/Makefile b/vendor/stripe/stripe-php/Makefile index 61b6de5..b556549 100644 --- a/vendor/stripe/stripe-php/Makefile +++ b/vendor/stripe/stripe-php/Makefile @@ -1,36 +1,39 @@ -export PHPDOCUMENTOR_VERSION := v3.0.0 -export PHPSTAN_VERSION := 0.12.59 - -vendor: composer.json - composer install - -vendor/bin/phpstan: vendor - curl -sfL https://github.com/phpstan/phpstan/releases/download/$(PHPSTAN_VERSION)/phpstan.phar -o vendor/bin/phpstan - chmod +x vendor/bin/phpstan - -vendor/bin/phpdoc: vendor - curl -sfL https://github.com/phpDocumentor/phpDocumentor/releases/download/$(PHPDOCUMENTOR_VERSION)/phpDocumentor.phar -o vendor/bin/phpdoc - chmod +x vendor/bin/phpdoc - -test: vendor - vendor/bin/phpunit -.PHONY: test - -fmt: vendor - vendor/bin/php-cs-fixer fix -v --using-cache=no . -.PHONY: fmt - -fmtcheck: vendor - vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no . -.PHONY: fmtcheck - -phpdoc: vendor/bin/phpdoc - vendor/bin/phpdoc - -phpstan: vendor/bin/phpstan - php -d memory_limit=512M vendor/bin/phpstan analyse lib tests -.PHONY: phpstan - -phpstan-baseline: vendor/bin/phpstan - php -d memory_limit=512M vendor/bin/phpstan analyse lib tests --generate-baseline -.PHONY: phpstan-baseline +export PHPDOCUMENTOR_VERSION := v3.0.0
+
+vendor: composer.json
+ composer install
+
+vendor/bin/phpdoc: vendor
+ curl -sfL https://github.com/phpDocumentor/phpDocumentor/releases/download/$(PHPDOCUMENTOR_VERSION)/phpDocumentor.phar -o vendor/bin/phpdoc
+ chmod +x vendor/bin/phpdoc
+
+test: vendor
+ vendor/bin/phpunit
+.PHONY: test
+
+fmt: vendor
+ vendor/bin/php-cs-fixer fix -v --using-cache=no .
+.PHONY: fmt
+
+fmtcheck: vendor
+ vendor/bin/php-cs-fixer fix -v --dry-run --using-cache=no .
+.PHONY: fmtcheck
+
+phpdoc: vendor/bin/phpdoc
+ vendor/bin/phpdoc
+
+phpstan: vendor
+ php -d memory_limit=512M vendor/bin/phpstan analyse lib tests
+.PHONY: phpstan
+
+phpstan-baseline: vendor/bin/phpstan
+ php -d memory_limit=512M vendor/bin/phpstan analyse lib tests --generate-baseline
+.PHONY: phpstan-baseline
+
+update-version:
+ @echo "$(VERSION)" > VERSION
+ @perl -pi -e 's|VERSION = '\''[.\d]+'\''|VERSION = '\''$(VERSION)'\''|' lib/Stripe.php
+.PHONY: update-version
+
+codegen-format: fmt
+.PHONY: codegen-format
|