Skip to content

Commit 5a5a826

Browse files
dev: makefile add project create tasks
1 parent 16b4b10 commit 5a5a826

File tree

1 file changed

+25
-3
lines changed

1 file changed

+25
-3
lines changed

Makefile

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,37 @@ help: ## Describe available tasks in Makefile
4444
awk -F ':.*?## ' 'NF==2 {printf "\033[36m %-$(HELP-DESCRIPTION-SPACING)s\033[0m %s\n", $$1, $$2}'
4545
# ------------------------------------ #
4646

47-
# ------- Clojure Development -------- #
48-
repl: ## Run Clojure REPL with rich terminal UI (Rebel Readline)
47+
# ------- Clojure Projects -------- #
48+
project-service: ## New project with practicalli/service template
49+
$(info --------- Create Service Project ---------)
50+
clojure -T:project/create :template practicalli/service :name practicalli/gameboard
51+
52+
project-service-donut: ## New project with practicalli/service template & Donut
53+
$(info --------- Create Service Project with Donut ---------)
54+
clojure -T:project/create :template practicalli/service :name practicalli/gameboard :target-dir gameboard-donut
55+
56+
project-service-integrant: ## New project with practicalli/service template & Integrant
57+
$(info --------- Create Service Project with Integrant ---------)
58+
clojure -T:project/create :template practicalli/service :name practicalli/gameboard :target-dir gameboard-integrant
59+
60+
landing-page-local: ## New project with practicalli/landing-page template local
4961
$(info --------- Run Rebel REPL ---------)
50-
clojure -M:test/env:repl/reloaded
62+
clojure -T:project/create-local :template practicalli/landing-page :name practicalli/landing-page-local
63+
64+
landing-page: ## New project with practicalli/landing-page template local
65+
$(info --------- Run Rebel REPL ---------)
66+
clojure -T:project/create :template practicalli/landing-page :name practicalli/landing-page
5167

5268
outdated: ## Check deps.edn & GitHub actions for new versions
5369
$(info --------- Search for outdated libraries ---------)
5470
- clojure -T:search/outdated > $(OUTDATED_FILE)
5571

72+
# ------- Clojure Workflow -------- #
73+
repl: ## Run Clojure REPL with rich terminal UI (Rebel Readline)
74+
$(info --------- Run Rebel REPL ---------)
75+
clojure -M:test/env:repl/reloaded
76+
77+
5678
# deps: deps.edn ## Prepare dependencies for test and dist targets
5779
# $(info --------- Download test and service libraries ---------)
5880
# clojure -P -X:build

0 commit comments

Comments
 (0)