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 Acme\Validation\Capsule; | |
use Illuminate\Container\Container; | |
use Illuminate\Database\ConnectionResolver; | |
use Illuminate\Database\ConnectionResolverInterface; | |
use Illuminate\Database\Connectors\ConnectionFactory; | |
use Illuminate\Filesystem\Filesystem; | |
use Illuminate\Translation\FileLoader; |
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
var gulp = require('gulp'), | |
sys = require('sys'), | |
ssh2 = require('ssh2'); | |
gulp.task('phpunit', function() { | |
var ssh = new ssh2(); | |
ssh.on('ready', function () { | |
ssh.exec('cd /vagrant; phpunit', {}, function (err, stream) { | |
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
var gulp = require('gulp'), | |
sys = require('sys'), | |
exec = require('child_process').exec; | |
gulp.task('phpunit', function() { | |
exec('phpunit', function(error, stdout) { | |
sys.puts(stdout); | |
}); | |
}); |