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
#!/usr/bin/env php | |
<?php | |
$phar = new Phar('vendor/phpro/grumphp-shim/grumphp.phar'); | |
$phar->addFile('MyCustom.php', 'src/Task/MyCustom.php'); | |
$newAutoloaderContent = <<<FILE | |
'GrumPHP\\Task\\MyCustom' => __DIR__ . '/../..' . '/src/Task/MyCustom.php', | |
FILE; |
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
1. FooBar | |
> FooBar | |
2. FooBar | |
> FooBar | |
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
#!/usr/bin/env bash | |
if [[ -z "${IN_HOOK}" ]]; then | |
export IN_HOOK='yes' | |
REQUIRES_UNSTASH='' | |
if [[ ! -z "$(git diff --no-commit-id --name-only)" ]]; then | |
REQUIRES_UNSTASH='yes' | |
echo '[] stash' |
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
#!/bin/sh | |
# Copyright (C) 2015 Alexandre Detiste <alexandre@detiste.be> | |
# License: MIT | |
# create a fake Steam installation to avoid | |
# that steamcmd uses "/home/$user/Steam" instead | |
if [ ! -e ~/.steam ] | |
then | |
mkdir -p ~/.steam/appcache/ | |
mkdir -p ~/.steam/config/ |