We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a8efcb commit ebcc7fbCopy full SHA for ebcc7fb
bin/composer-adapter/hsa
@@ -0,0 +1,17 @@
1
+#!/usr/bin/env php
2
+<?php
3
+
4
+// unset first CLI argument
5
+unset($argv[0]);
6
7
+$output = [];
8
+// Get arguments as string
9
+$args = implode(' ', $argv);
10
11
+// execute binary
12
+exec("../hsa $args", $output);
13
14
+// Print output line by line
15
+foreach ($output as $line) {
16
+ echo $line . "\n";
17
+}
composer.json
@@ -11,6 +11,6 @@
"minimum-stability": "dev",
"require": {},
"bin": [
- "bin/hsa"
+ "bin/composer-adapter/hsa"
]
}
0 commit comments