-
Notifications
You must be signed in to change notification settings - Fork 435
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
Improved composer plugin #675
Conversation
4f98ebf
to
cbdc72b
Compare
7f34896
to
bb522b0
Compare
3b75bf2
to
ab00e3d
Compare
@@ -0,0 +1 @@ | |||
3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to delete this file
// Windows requires double double quotes | ||
// https://bugs.php.net/bug.php?id=49139 | ||
$windowsIsInsane = function (string $command) { | ||
return $this->runsOnWindows() ? '"'.$command.'"' : $command; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤣
@@ -19,7 +19,7 @@ public static function integrate(Event $event): void | |||
$filesystem = new Filesystem(); | |||
|
|||
$composerBinDir = $event->getComposer()->getConfig()->get('bin-dir'); | |||
$executable = getcwd().'/bin/grumphp'; | |||
$executable = __DIR__.'/../../bin/grumphp'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$executable = __DIR__.'/../../bin/grumphp'; | |
$executable = dirname(__DIR__, 2) . '/bin/grumphp'; |
Still a work in progress. The goals of this rewrite are:
Todos:
Testing:
composer.json