diff --git a/justfile b/justfile index 4b06af7..a60ebe1 100644 --- a/justfile +++ b/justfile @@ -5,7 +5,6 @@ export DATABASE_URL := "postgres://aluno:123@localhost:5432/senac" export SECRET_KEY := "senac" set quiet -alias fmt := format [private] default: @@ -21,14 +20,6 @@ test: require-database run: require-database gleam run -# Format files -[group("dev")] -format: - gleam format - just --fmt --quiet - dockerfmt -w Dockerfile - sleek postgres/*.sql - # Build container [group("docker")] build: @@ -75,6 +66,7 @@ stop-database: require-database echo {{ GREEN }}" Stopped the database container"{{ NORMAL }} # Check if the database is active +[no-exit-message] [private] require-database: docker container exists {{ database_container_name }} \