Skip to content

Commit b709bb5

Browse files
dev: outdated_file variable for filename
1 parent 3e612d8 commit b709bb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
# run help if no target specified
2525
.DEFAULT_GOAL := help
2626

27+
OUTDATED_FILE := outdated-$(shell date +%y-%m-%d-%T).org
28+
2729
# Column the target description is printed from
2830
HELP-DESCRIPTION-SPACING := 24
2931

@@ -49,7 +51,7 @@ repl: ## Run Clojure REPL with rich terminal UI (Rebel Readline)
4951

5052
outdated: ## Check deps.edn & GitHub actions for new versions
5153
$(info --------- Search for outdated libraries ---------)
52-
clojure -T:search/outdated > outdated-$(date +"%y-%m-%d-%T").org
54+
- clojure -T:search/outdated > $(OUTDATED_FILE)
5355

5456
# deps: deps.edn ## Prepare dependencies for test and dist targets
5557
# $(info --------- Download test and service libraries ---------)

0 commit comments

Comments
 (0)