Skip to content

Commit b2445c2

Browse files
dev: dependencies-update & dependencies-outdated make tasks
1 parent 228e1b8 commit b2445c2

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- install: remove -Sdescribe (deprecated), use --version
77
- cli: add run repl as an explicit section
88
- mkdocs: add automatic light/dark mode
9+
- dev: `dependencies-update` & `dependencies-outdated` make tasks
910

1011
## Changed
1112
- intro: update 15 mins intro to Clojure

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ HELP-DESCRIPTION-SPACING := 24
1919
# Tool Commands
2020
MEGALINTER_RUNNER := npx mega-linter-runner --flavor documentation --env "'MEGALINTER_CONFIG=.github/config/megalinter.yaml'" --env "'VALIDATE_ALL_CODEBASE=true'" --remove-container
2121
MKDOCS_SERVER := mkdocs serve --dev-addr localhost:7777
22+
OUTDATED_FILE := outdated-$(shell date +%y-%m-%d-%T).md
2223

2324
# Makefile file and directory name wildcard
2425
EDN-FILES := $(wildcard *.edn)
@@ -42,6 +43,14 @@ lint-clean: ## Clean MegaLinter report information
4243
megalinter-upgrade: ## Upgrade MegaLinter config to latest version
4344
$(info --------- MegaLinter Upgrade Config ---------)
4445
npx mega-linter-runner@latest --upgrade
46+
47+
dependencies-outdated: ## Report new versions of library dependencies and GitHub action
48+
$(info -- Search for outdated libraries ---------)
49+
- clojure -T:search/outdated > $(OUTDATED_FILE)
50+
51+
dependencies-update: ## Update all library dependencies and GitHub action
52+
$(info -- Search for outdated libraries ---------)
53+
- clojure -T:update/dependency-versions > $(OUTDATED_FILE)
4554
# ------------------------------------ #
4655

4756
# --- Documentation Generation ------ #

0 commit comments

Comments
 (0)