Rename dev-env-config to devenvconfig for consitency sake

This commit is contained in:
Darko Gjorgjijoski
2025-09-02 03:26:23 +02:00
parent cce208138b
commit 70429bce01
3 changed files with 5 additions and 5 deletions

View File

@@ -21,6 +21,7 @@ tests/
vendor/
.dockerignore
.devenvconfig
.editorconfig
.env
.env.testing
@@ -28,7 +29,6 @@ vendor/
.gitattributes
.gitignore
.prettierrc.json
.dev-env-config
devenv
CODE_OF_CONDUCT.md

2
.gitignore vendored
View File

@@ -21,7 +21,7 @@ Homestead.yaml
!storage/fonts/.gitkeep
.DS_Store
.php-cs-fixer.cache
.dev-env-config
.devenvconfig
/storage/fonts*
package-lock.json
/docker/development/docker-compose.yml

6
devenv
View File

@@ -74,7 +74,7 @@ get_docker_compose_cmd() {
# Function to find the most recent compose file used
find_compose_file() {
local config_file=".dev-env-config"
local config_file=".devenvconfig"
if [ -f "$config_file" ]; then
cat "$config_file"
@@ -86,7 +86,7 @@ find_compose_file() {
# Function to save compose file configuration
save_config() {
local compose_file=$1
echo "$compose_file" > .dev-env-config
echo "$compose_file" > .devenvconfig
}
# Function to check if host entry exists
@@ -335,7 +335,7 @@ cmd_destroy() {
if $docker_compose -f "$compose_file" down --rmi all --volumes --remove-orphans; then
print_success "Development environment destroyed successfully!"
# Remove the config file since everything is destroyed
rm -f .dev-env-config
rm -f .devenvconfig
else
print_error "Failed to destroy development environment"
exit 1