Skip to content

Commit

Permalink
Add box build configuration and details
Browse files Browse the repository at this point in the history
  • Loading branch information
bennothommo committed Sep 4, 2020
1 parent 08bf754 commit a53aec3
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Composer
vendor/*
vendor-bin/*
vendor-bin/*

# Project
october.phar
private/*
20 changes: 20 additions & 0 deletions box.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"main": "index.php",
"output": "october.phar",
"banner": [
"October CMS CLI helper.",
"",
"(c) 2020 Ben Thomson",
"",
"This source file is subject to the MIT license that is bundled",
"with this source code in the file LICENSE."
],
"compression": "GZ",
"compactors": [
"KevinGH\\Box\\Compactor\\Php"
],
"replacements": {
"version": "0.1.0"
},
"algorithm": "SHA256"
}
11 changes: 8 additions & 3 deletions src/Application.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
<?php
namespace BennoThommo\OctoberCli;
<?php namespace BennoThommo\OctoberCli;

use DirectoryIterator;
use Symfony\Component\Console\Application as SymfonyApplication;

/**
* CLI Application.
*
* @since 0.1.0
* @author Ben Thomson
*/
class Application extends SymfonyApplication
{
protected static $name = 'October CLI';

protected static $version = '0.1.0';
protected static $version = '@version@ (@datetime@)';

protected static $logo = <<<LOGO
====================================================================
Expand Down

0 comments on commit a53aec3

Please sign in to comment.