Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double feature request: task short cut + abbrevation for tasks unrelated to profiles #104

Closed
cordoval opened this issue Jul 31, 2014 · 4 comments

Comments

@cordoval
Copy link
Contributor

currently I have to do this

php bldr.phar build --tasks=loadFixtures cs

cs is unrelated to loadFixtures but i am forced to put it under a profile

can we do a shortcut for this

php bldr.phar -t load

so that even the whole string is typehinted and abbreviated?

@cryptiklemur
Copy link
Member

I should be able to do that

@cordoval
Copy link
Contributor Author

you shall do it and shall succeed 😊 👍

@cordoval
Copy link
Contributor Author

I think you did this already but did not link it

@cordoval
Copy link
Contributor Author

👍

~ bldr test                                                                              Luiss-MacBook-Pro-3 [2:11:59]


  ______    __       _______   ______
 |   _  \  |  |     |       \ |   _  \
 |  |_)  | |  |     |  .--.  ||  |_)  |
 |   _  <  |  |     |  |  |  ||      /
 |  |_)  | |  `----.|  `--`  ||  |\  \
 |______/  |_______||_______/ | _| `._|



 Building the 'bldr-io/bldr' project
  - The PHP Task Runner you've been waiting for -

 Using the 'test' profile
  - Test Profile -


Running the testDev task
> Runs the PHPUnit Tests

PHPUnit 4.2.6 by Sebastian Bergmann.

Configuration read from /Users/cordoval/Sites/bldr/phpunit.xml.dist

......................

Time: 1.32 seconds, Memory: 17.75Mb

OK (22 tests, 49 assertions)

Generating code coverage report in Clover XML format ... done

Generating code coverage report in HTML format ... done


Code Coverage Report:
  2014-09-22 02:12:01

 Summary:
  Classes:  9.26% (5/54)
  Methods: 21.46% (44/205)
  Lines:   14.00% (215/1536)

\Bldr::Application
  Methods:  57.14% ( 8/14)   Lines:  61.90% ( 52/ 84)
\Bldr\Call::AbstractCall
  Methods:   4.55% ( 1/22)   Lines:  17.81% ( 13/ 73)
\Bldr\Command::AbstractCommand
  Methods:  28.57% ( 2/ 7)   Lines:  27.27% (  3/ 11)
\Bldr\Command::BuildCommand
  Methods:  12.50% ( 1/ 8)   Lines:   7.69% (  7/ 91)
\Bldr\Command\Task::InfoCommand
  Methods:  66.67% ( 2/ 3)   Lines:  94.87% ( 37/ 39)
\Bldr\Command\Task::ListCommand
  Methods: 100.00% ( 2/ 2)   Lines: 100.00% ( 22/ 22)
\Bldr\DependencyInjection::ContainerBuilder
  Methods:  20.00% ( 1/ 5)   Lines:  41.30% ( 19/ 46)
\Bldr\Event::AbstractEvent
  Methods:  50.00% ( 1/ 2)   Lines:  66.67% (  2/  3)
\Bldr\Event::PostExecuteEvent
  Methods: 100.00% ( 3/ 3)   Lines: 100.00% (  6/  6)
\Bldr\Event::PreCallEvent
  Methods: 100.00% ( 4/ 4)   Lines: 100.00% (  8/  8)
\Bldr\Event::PreExecuteEvent
  Methods: 100.00% ( 3/ 3)   Lines: 100.00% (  6/  6)
\Bldr\Helper::DialogHelper
  Methods: 100.00% ( 1/ 1)   Lines: 100.00% (  4/  4)
\Bldr\Model::Call
  Methods:  75.00% ( 6/ 8)   Lines:  66.67% (  8/ 12)
\Bldr\Model::Task
  Methods:  71.43% ( 5/ 7)   Lines:  74.19% ( 23/ 31)
\Bldr\Registry::TaskRegistry
  Methods:  80.00% ( 4/ 5)   Lines:  71.43% (  5/  7)



 Build Success!

cordoval•/Users/cordoval/Sites/bldr(108-allow-change-vendor-folder)»

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants