Skip to content

Commit

Permalink
Updated libraries via composer
Browse files Browse the repository at this point in the history
  • Loading branch information
mystralkk committed May 15, 2021
1 parent d469668 commit 7132a0a
Show file tree
Hide file tree
Showing 100 changed files with 2,942 additions and 3,066 deletions.
129 changes: 82 additions & 47 deletions system/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 21 additions & 11 deletions system/vendor/bin/minifycss
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
#!/usr/bin/env sh
#!/usr/bin/env php
<?php

dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../matthiasmullie/minify/bin" && pwd)
/**
* Proxy PHP file generated by Composer
*
* This file includes the referenced bin path (../matthiasmullie/minify/bin/minifycss) using eval to remove the shebang if present
*
* @generated
*/

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
$binPath = realpath(__DIR__ . "/" . '../matthiasmullie/minify/bin/minifycss');
$contents = file_get_contents($binPath);
$contents = preg_replace('{^#!/.+\r?\n<\?(php)?}', '', $contents, 1, $replaced);
if ($replaced) {
$contents = strtr($contents, array(
'__FILE__' => var_export($binPath, true),
'__DIR__' => var_export(dirname($binPath), true),
));

"${dir}/minifycss" "$@"
eval($contents);
exit(0);
}
include $binPath;
32 changes: 21 additions & 11 deletions system/vendor/bin/minifyjs
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
#!/usr/bin/env sh
#!/usr/bin/env php
<?php

dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../matthiasmullie/minify/bin" && pwd)
/**
* Proxy PHP file generated by Composer
*
* This file includes the referenced bin path (../matthiasmullie/minify/bin/minifyjs) using eval to remove the shebang if present
*
* @generated
*/

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
$binPath = realpath(__DIR__ . "/" . '../matthiasmullie/minify/bin/minifyjs');
$contents = file_get_contents($binPath);
$contents = preg_replace('{^#!/.+\r?\n<\?(php)?}', '', $contents, 1, $replaced);
if ($replaced) {
$contents = strtr($contents, array(
'__FILE__' => var_export($binPath, true),
'__DIR__' => var_export(dirname($binPath), true),
));

"${dir}/minifyjs" "$@"
eval($contents);
exit(0);
}
include $binPath;

0 comments on commit 7132a0a

Please sign in to comment.