Skip to content

Commit

Permalink
Installing rector #61
Browse files Browse the repository at this point in the history
  • Loading branch information
jawira committed Aug 18, 2020
1 parent 8436284 commit a3abe05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
12 changes: 1 addition & 11 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,12 @@
/resources/coverage/
/resources/phpdoc/
/vendor/
/bin/behat
/bin/composer
/bin/phpdoc
/bin/phpunit
/bin/
/composer-setup.php
/composer.lock
/bin/phpstan
/bin/phpunit.phar
/bin/phing
/bin/cc-test-reporter
/coverage/codeclimate.json
/bin/phpDocumentor
/bin/phploc
/resources/phploc.txt
/resources/coverage-html/
/bin/phpcs
/site/
/docs/CONTRIBUTING.md
/docs/index.md
Expand Down
10 changes: 7 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,14 @@
<defaultexcludes add="**/.idea"/>
<defaultexcludes add="**/.idea/**"/>

<property name="phing.http.proxy" value="${env.http_proxy}"/>

<target name="help">
<loadfile property="help" file="docs/dev.md"/>
<echo>${line.separator}${help}</echo>
</target>

<target name="setup"
description="Install dependencies"
depends="composer:install-dev, phive:install, cc:get"/>
depends="composer:install-dev, phive:install, rector:install, cc:get"/>

<target name="qa"
description="Run quality tests"
Expand Down Expand Up @@ -235,4 +233,10 @@
<copy file="./README.md" tofile="./docs/index.md" overwrite="true"/>
</target>

<target name="rector:install">
<httpget dir="bin" filename="rector" followRedirects="true"
url="https://github.com/rectorphp/rector-prefixed/raw/master/rector.phar"/>
<chmod file="bin/rector" mode="0775"/>
</target>

</project>

0 comments on commit a3abe05

Please sign in to comment.