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/bash | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
set -euo pipefail | |
IFS=$'\n\t' | |
# inspired by | |
# https://gist.github.com/codeinthehole/26b37efa67041e1307db | |
# https://github.com/why-jay/osx-init/blob/master/install.sh | |
# https://github.com/timsutton/osx-vm-templates/blob/master/scripts/xcode-cli-tools.sh |
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
const mix = require("laravel-mix") | |
mix.site = (id, callback) => { | |
if (!process.env.SITE || process.env.SITE === id) { | |
return callback() | |
} | |
}; | |
mix.site('admin', () => { | |
mix.js("resources/js/admin/app.js", "public/js/admin.js") |
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
<?php | |
namespace App\Tests\Browser; | |
use App\Tests\HasDuskBrowser; | |
class ExampleTest extends \PHPUnit_Framework_TestCase | |
{ | |
use HasDuskBrowser; | |