Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
###> mediashare/marathon ###
APP_VERSION=0.1.8
APP_VERSION=0.1.10
###< mediashare/marathon ###

###> symfony/framework-bundle ###
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
/public/bundles/
/var/
/vendor/
/vendor-bin/
###< symfony/framework-bundle ###

###> mediashare/marathon ###
Expand Down
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
##
install-opti: ## Composer install optimized
composer install --no-scripts --no-autoloader --no-dev
composer bin box require humbug/box
composer dump-autoload --classmap-authoritative --no-dev --optimize
install: ## Composer install
composer install --no-scripts --no-autoloader
composer bin box require humbug/box
composer dump-autoload --classmap-authoritative --optimize

##
Expand Down Expand Up @@ -34,14 +36,14 @@ phpunit: test ## Run PHPUnit tests
##Build
##
compile: tests install-opti cache warmup ## Build Marathon project
box compile
./vendor-bin/box/vendor/humbug/box/bin/box compile
build: compile ## Build Marathon project

build-prod: tests install-opti cache ## Build Marathon project
box compile
./vendor-bin/box/vendor/humbug/box/bin/box compile

build-without-tests: install-opti cache ## Build Marathon project without running tests
box compile
./vendor-bin/box/vendor/humbug/box/bin/box compile
build-without-test: build-without-tests ## Build Marathon project without running tests
compile-without-tests: build-without-tests ## Build Marathon project without running tests
compile-without-test: build-without-tests ## Build Marathon project without running tests
2 changes: 1 addition & 1 deletion bin/marathon
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ return function (array $context) {
$application = new Application($kernel);
$application->setName("Marathon");
$application->setVersion($_ENV['APP_VERSION'] ?? '');

return $application;
};
2 changes: 1 addition & 1 deletion box.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"in": "src"
}
],
"banner": "*** Marathon (Version 0.1.8) ***",
"banner": "*** Marathon (Version 0.1.10) ***",
"stub": true,
"dump-autoload": false,
"annotations": true
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"symfony/property-info": "^7.2",
"symfony/runtime": "*",
"symfony/serializer": "^7.2",
"symfony/yaml": "^7.2"
"symfony/yaml": "^7.2",
"bamarni/composer-bin-plugin": "^1.9"
},
"bin": ["marathon"],
"config": {
Expand All @@ -61,6 +62,7 @@
"sort-packages": true,
"bin-dir": "../../bin",
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"symfony/flex": true,
"symfony/runtime": true
}
Expand Down
Loading
Loading