Skip to content

Commit

Permalink
Copy artisan file during setup
Browse files Browse the repository at this point in the history
  • Loading branch information
tychovbh committed May 8, 2019
1 parent 756dcbf commit 0e1a25d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ All notable changes to `Laravel Package Skeleton` will be documented in this fil

Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.

## V0.8 Alpha 08-05-2019

- Copy artisan file during setup

## V0.7 Alpha 07-05-2019

- remove debug code
Expand Down
1 change: 1 addition & 0 deletions setup
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<?php

mkdir('bootstrap/cache', 0777, true);
copy(__DIR__ . 'src/files/artisan', 'artisan');
10 changes: 0 additions & 10 deletions src/Console/Commands/MakeSkeleton.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ public function handle()
->composerInstall()
->providerMake()
->providerConfig()
->artisanMake()
->testsMake();

$this->line('Skeleton created! :-D');
Expand Down Expand Up @@ -202,15 +201,6 @@ private function providerRegister(): string
return $string;
}

/**
* @return MakeSkeleton
*/
private function artisanMake(): MakeSkeleton
{
file_put_contents('artisan', default_file('artisan'));
return $this;
}

/**
* @return $this
*/
Expand Down

0 comments on commit 0e1a25d

Please sign in to comment.