diff options
Diffstat (limited to 'public/system/storage/vendor/bin')
-rw-r--r-- | public/system/storage/vendor/bin/pscss | 10 | ||||
-rw-r--r-- | public/system/storage/vendor/bin/pscss.bat | 4 |
2 files changed, 14 insertions, 0 deletions
diff --git a/public/system/storage/vendor/bin/pscss b/public/system/storage/vendor/bin/pscss new file mode 100644 index 0000000..7fd45db --- /dev/null +++ b/public/system/storage/vendor/bin/pscss @@ -0,0 +1,10 @@ +#!/usr/bin/env sh + +dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../leafo/scssphp" && pwd) + +if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then + # We are in Cgywin using Windows php, so the path must be translated + dir=$(cygpath -m "$dir"); +fi + +"${dir}/pscss" "$@" diff --git a/public/system/storage/vendor/bin/pscss.bat b/public/system/storage/vendor/bin/pscss.bat new file mode 100644 index 0000000..e09aae1 --- /dev/null +++ b/public/system/storage/vendor/bin/pscss.bat @@ -0,0 +1,4 @@ +@ECHO OFF +setlocal DISABLEDELAYEDEXPANSION +SET BIN_TARGET=%~dp0/../leafo/scssphp/pscss +php "%BIN_TARGET%" %* |