-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from smartbooster/remove_unused_bundle_files
Remove unused bundle that comes with sf new --webapp + docs directory
- Loading branch information
Showing
5 changed files
with
60 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
CHANGELOG for 1.x | ||
=================== | ||
|
||
## v1.0.4 - (2024-01-18) | ||
### Changed | ||
- Refactor `bundle.mk` to a more targetted use case of our bundles. | ||
|
||
### Fixed | ||
- Create the directory config/serialization on install-symfony which is needed for our platform bundle | ||
|
||
### Removed | ||
- Remove unused bundle that comes with the symfony new --webapp | ||
- Remove the `AppFixtures.php` auto generated by the doctrine/doctrine-fixtures-bundle recipes | ||
- Mention to remove the `docs` directory on the [Setup the docker stack from an empty repository](#setup-the-docker-stack-from-an-empty-repository) README.md | ||
|
||
## v1.0.3 - (2024-01-05) | ||
### Added | ||
- Add a makefile command to generate the symfony-docker.lock and mention it on the first two setup cases in the README. | ||
|
||
### Fixed | ||
- Remove the .github directory on the staged list files on docker-post-fetch | ||
|
||
## v1.0.2 - (2024-01-04) | ||
### Fixed | ||
- Remove echo for git fetching data as it produce weird behavior while generating the symfony-docker.lock | ||
|
||
## v1.0.1 - (2024-01-04) | ||
### Fixed | ||
- Fix the docker-fetch command that was too fast to properly generate the symfony-docker.lock and not fetching the tag properly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,28 @@ | ||
## | ||
## Bundle | ||
## ------ | ||
.PHONY: bundle-push-assets bpa | ||
bundle-push-assets: ## Push project assets into smartbooster/platform-core-bundle stubs/assets | ||
sh ./vendor/smartbooster/platform-core-bundle/scripts/push_assets.sh | ||
bpa: bundle-push-assets ## Alias for bundle-push-assets | ||
PLATFORM_CORE_SCRIPTS=vendor/smartbooster/platform-core-bundle/scripts | ||
|
||
.PHONY: bp | ||
bp: bpa | ||
|
||
.PHONY: bundle-fetch-assets bfa | ||
bundle-fetch-assets: ## Fetch smartbooster/platform-core-bundle stub/assets into project assets | ||
sh vendor/smartbooster/platform-core-bundle/scripts/fetch_assets.sh | ||
bfa: bundle-fetch-assets ## Alias for bundle-fetch-assets | ||
|
||
.PHONY: bf | ||
bf: bfa | ||
.PHONY: platform-core-bundle-install pcbi | ||
platform-core-bundle-install: ## Post platform-core-bundle require command to run to complete his install process | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_assets.sh | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_config.sh | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_fixtures.sh | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_src.sh | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_templates.sh | ||
sh $(PLATFORM_CORE_SCRIPTS)/fetch_tests.sh | ||
# Redéfinition du cache:clear en 2 temps | ||
composer config --unset scripts.auto-scripts.'assets:install %PUBLIC_DIR%' | ||
composer config --unset scripts.auto-scripts.cache:clear | ||
composer config scripts.auto-scripts.'cache:clear --no-warmup' symfony-cmd | ||
composer config scripts.auto-scripts.cache:warmup symfony-cmd | ||
composer config scripts.auto-scripts.'assets:install %PUBLIC_DIR%' symfony-cmd | ||
# Set the composer autoloader config to avoid conflict between phpunit and symfony/phpunit-bridge when launching tests | ||
composer config optimize-autoloader true | ||
composer config prepend-autoloader false | ||
composer dump-autoload | ||
yarn install | ||
make assets-dev | ||
make orm-install | ||
echo Bundle install complete! | ||
pcbi: platform-core-bundle-install ## Alias for platform-core-bundle-install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters