-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: ♻️ Remove Composer installation script
- Loading branch information
1 parent
3e1b2b2
commit 106269e
Showing
7 changed files
with
18 additions
and
1,839 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
|
||
dir=$(cd "${0%[/\\]*}" > /dev/null; pwd) | ||
|
||
if [ -d /proc/cygdrive ]; then | ||
case $(which php) in | ||
$(readlink -n /proc/cygdrive)/*) | ||
# We are in Cygwin using Windows php, so the path must be translated | ||
dir=$(cygpath -m "$dir"); | ||
;; | ||
esac | ||
fi | ||
|
||
php "${dir}/composer.phar" "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
@echo OFF | ||
:: in case DelayedExpansion is on and a path contains ! | ||
setlocal DISABLEDELAYEDEXPANSION | ||
php "%~dp0composer.phar" %* |
Binary file not shown.
Oops, something went wrong.