@@ -92,35 +92,36 @@ clean: ## Clean build temporary files
92
92
# ------------------------------------ #
93
93
94
94
# ------- Testing -------------------- #
95
- # test-config: ## Print Kaocha test runner configuration
96
- # $(info --------- Runner Configuration ---------)
97
- # clojure -M:test/env:test/run --print-config
95
+ test-config : # # Print Kaocha test runner configuration
96
+ $(info --------- Runner Configuration ---------)
97
+ clojure -M:test/env:test/run --print-config
98
98
99
- # test-profile: ## Profile unit test speed, showing 3 slowest tests
100
- # $(info --------- Runner Profile Tests ---------)
101
- # clojure -M:test/env:test/run --plugin kaocha.plugin/profiling
99
+ test-profile : # # Profile unit test speed, showing 3 slowest tests
100
+ $(info --------- Runner Profile Tests ---------)
101
+ clojure -M:test/env:test/run --plugin kaocha.plugin/profiling
102
102
103
- # test: ## Run unit tests - stoping on first error
104
- # $(info --------- Runner for unit tests ---------)
105
- # clojure -X:test/env:test/run
103
+ test : # # Run unit tests - stoping on first error
104
+ $(info --------- Runner for unit tests ---------)
105
+ clojure -X:test/env:test/run
106
106
107
- # test-all: ## Run all unit tests regardless of failing tests
108
- # $(info --------- Runner for all unit tests ---------)
109
- # clojure -X:test/env:test/run :fail-fast? false
107
+ test-all : # # Run all unit tests regardless of failing tests
108
+ $(info --------- Runner for all unit tests ---------)
109
+ clojure -X:test/env:test/run :fail-fast? false
110
110
111
- # test-watch: ## Run tests when changes saved, stopping test run on first error
112
- # $(info --------- Watcher for unit tests ---------)
113
- # clojure -X:test/env:test/run :watch? true
111
+ test-watch : # # Run tests when changes saved, stopping test run on first error
112
+ $(info --------- Watcher for unit tests ---------)
113
+ clojure -X:test/env:test/run :watch? true
114
+
115
+ test-watch-all : # # Run all tests when changes saved, regardless of failing tests
116
+ $(info --------- Watcher for unit tests ---------)
117
+ clojure -X:test/env:test/run :fail-fast? false :watch? true
114
118
115
- # test-watch-all: ## Run all tests when changes saved, regardless of failing tests
116
- # $(info --------- Watcher for unit tests ---------)
117
- # clojure -X:test/env:test/run :fail-fast? false :watch? true
118
119
# ------------------------------------ #
119
120
120
121
# -------- Build tasks --------------- #
121
- # build-config: ## Pretty print build configuration
122
- # $(info --------- View current build config ---------)
123
- # clojure -T:build config
122
+ build-config : # # Pretty print build configuration
123
+ $(info --------- View current build config ---------)
124
+ clojure -T:build config
124
125
125
126
# build-jar: ## Build a jar archive of Clojure project
126
127
# $(info --------- Build library jar ---------)
@@ -130,9 +131,10 @@ clean: ## Clean build temporary files
130
131
# $(info --------- Build service Uberjar ---------)
131
132
# clojure -T:build uberjar
132
133
133
- # build-clean: ## Clean build assets or given directory
134
- # $(info --------- Clean Build ---------)
135
- # clojure -T:build clean
134
+ build-clean : # # Clean build assets or given directory
135
+ $(info --------- Clean Build ---------)
136
+ clojure -T:build clean
137
+
136
138
# ------------------------------------ #
137
139
138
140
# ------- Code Quality --------------- #
@@ -164,17 +166,18 @@ megalinter-upgrade: ## Upgrade MegaLinter config to latest version
164
166
# ------------------------------------ #
165
167
166
168
# ------- Docker Containers ---------- #
167
- # docker-build: ## Build Clojure Service with docker compose
169
+ # docker-build: ## Build Clojure project and run with docker compose
168
170
# $(info --------- Docker Compose Build ---------)
169
- # docker compose up --build
171
+ # docker compose up --build --detach
170
172
171
- # docker-build-clean: ## Build Clojure Service with docker compose, removing orphans
173
+ # docker-build-clean: ## Build Clojure project and run with docker compose, removing orphans
172
174
# $(info --------- Docker Compose Build - remove orphans ---------)
173
- # docker compose up --build --remove-orphans
175
+ # docker compose up --build --remove-orphans --detach
174
176
175
- # docker-down: ## Shut down Clojure service using docker compose
177
+ # docker-down: ## Shut down containers in docker compose
176
178
# $(info --------- Docker Compose Down ---------)
177
- # docker-compose down
179
+ # docker compose down
180
+
178
181
179
182
# swagger-editor: ## Start Swagger Editor in Docker
180
183
# $(info --------- Run Swagger Editor at locahost:8282 ---------)
0 commit comments