Skip to content

Commit

Permalink
fixed config file, remove unused commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nasrulhazim committed Dec 30, 2021
1 parent 6a5e9bb commit c96d352
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
19 changes: 0 additions & 19 deletions src/Commands/RunningNumberCommand.php

This file was deleted.

7 changes: 2 additions & 5 deletions src/RunningNumberServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace CleaniqueCoders\RunningNumber;

use CleaniqueCoders\RunningNumber\Commands\RunningNumberCommand;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;

Expand All @@ -17,9 +16,7 @@ public function configurePackage(Package $package): void
*/
$package
->name('running-number')
->hasConfigFile()
->hasViews()
->hasMigration('create_running_number_table')
->hasCommand(RunningNumberCommand::class);
->hasConfigFile('running-number')
->hasMigration('create_running_number_table');
}
}

0 comments on commit c96d352

Please sign in to comment.