Skip to content

Commit

Permalink
update skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
bangnokia committed Dec 24, 2024
1 parent dbed332 commit b9bee65
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/Commands/CleanCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
namespace LinaPhp\Lina\Commands;

use Illuminate\Console\Command;
use League\Flysystem\Filesystem;
use Symfony\Component\Finder\Finder;

class CleanCommand extends Command
Expand Down
5 changes: 2 additions & 3 deletions app/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
use LinaPhp\Lina\MarkdownRenderer;
use Illuminate\Console\Signals;
use Illuminate\Support\ServiceProvider;
use Symfony\Component\Console\SignalRegistry\SignalRegistry;

class AppServiceProvider extends ServiceProvider
{
public function register()
public function register(): void
{
$this->app->bind(MarkdownParserContract::class, MarkdownParser::class);

Expand All @@ -35,6 +34,6 @@ public function register()
public function boot()
{
config(['view.paths' => [getcwd() . '/resources/views']]);
config(['view.compiled' => getcwd() . '/resources/cache']);
config(['view.compiled' => getcwd() . '/composer/.lina/cache']);
}
}
1 change: 1 addition & 0 deletions skeleton/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/.idea
/vendor
/.node_modules
/vendor
.DS_Store
composer.lock
13 changes: 13 additions & 0 deletions skeleton/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "linaphp/lina-site",
"description": "The skeleton application for the Lina static site generator.",
"type": "project",
"keywords": ["linaphp", "static-site"],
"require": {
"linaphp/lina": "^0.6"
},
"license": "MIT",
"scripts": {
"serve": "./vendor/bin/lina serve"
}
}

0 comments on commit b9bee65

Please sign in to comment.