Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

Commit

Permalink
Uses now an unstable fork of kyranrana/cloudflare-bypass
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Mar 14, 2020
1 parent 9a3f09b commit 150e90c
Show file tree
Hide file tree
Showing 3 changed files with 399 additions and 222 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
COMPOSER ?= install
.PHONY: test build

build:
docker build -t guzzlecloudtest .
composer:
docker run --rm -ti -v "${PWD}:/app" -w /app guzzlecloudtest ./composer.phar "${COMPOSER}"
vendor:
docker run --rm -ti -v "${PWD}:/app" -w /app guzzlecloudtest ./composer.phar install

make composer
test: vendor
docker run --rm --name guzzlecloudtest -ti -v ${PWD}:/app/ -w /app guzzlecloudtest php -d max_execution_time=5 vendor/bin/phpunit
6 changes: 5 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"require": {
"php": "^7.2",
"kyranrana/cloudflare-bypass": "^v3.0",
"jaymoulin/cloudflare-bypass": "dev-master",
"guzzlehttp/guzzle": "^6.3",
"ext-curl": "*",
"ext-bcmath": "*"
Expand All @@ -33,6 +33,10 @@
"phpcpd": "phpcpd src --log-pmd=build/logs/cpd.xml"
},
"license": "MIT",
"support": {
"issues": "http://github.com/jaymoulin/guzzlehttp-cloudflare/issues",
"source": "https://github.com/jaymoulin/guzzlehttp-cloudflare"
},
"authors": [
{
"name": "Jay MOULIN",
Expand Down
Loading

0 comments on commit 150e90c

Please sign in to comment.