| @@ 42-48 (lines=7) @@ | ||
| 39 | ||
| 40 | $this->task( |
|
| 41 | 'Creating .env', |
|
| 42 | function () { |
|
| 43 | if (! File::exists(base_path('.env'))) { |
|
| 44 | return File::put(base_path('.env'), 'CONSUMER_KEY='); |
|
| 45 | } |
|
| 46 | ||
| 47 | return false; |
|
| 48 | } |
|
| 49 | ); |
|
| 50 | ||
| 51 | $this->task( |
|
| @@ 53-59 (lines=7) @@ | ||
| 50 | ||
| 51 | $this->task( |
|
| 52 | 'Creating .env.example', |
|
| 53 | function () { |
|
| 54 | if (! File::exists(base_path('.env.example'))) { |
|
| 55 | return File::put(base_path('.env.example'), 'CONSUMER_KEY='); |
|
| 56 | } |
|
| 57 | ||
| 58 | return false; |
|
| 59 | } |
|
| 60 | ); |
|
| 61 | ||
| 62 | $this->task('Updating .gitignore', function () { |
|