Anonymous Segment.com tracking. Closes #91.

This commit is contained in:
James Brooks
2015-01-23 17:24:34 +00:00
committed by Joseph Cohen
parent a63c65a6c3
commit 5c391cc888
23 changed files with 523 additions and 8 deletions

View File

@@ -50,7 +50,13 @@ class OneClickDeployCommand extends Command
public function fire()
{
if ($this->migrate) {
return $this->runMigrations();
$migrations = $this->runMigrations();
segment_track('Installation', [
'event' => 'Heroku Deployment',
]);
return $migrations;
}
$this->info('Please run "php artisan migrate" to finish the installation.');