diff --git a/src/Shipper.php b/src/Shipper.php index 968704b..7f32a0d 100644 --- a/src/Shipper.php +++ b/src/Shipper.php @@ -112,6 +112,10 @@ public function ship($dir, $arguments) $this->green('Success!'); $this->output(''); $this->green($finalZipPath.' ready to ship!'); + + if (file_exists($deployScript = $this->dir.'/deploy.php')) { + require $deployScript; + } } protected function getConfig() @@ -211,4 +215,9 @@ protected function publish() $this->green('.shipignore file published'); } + + protected function zipFileName() + { + return $this->baseDirectory().'-'.$this->version.'.zip'; + } }