From c900bd28f70dd2eab8ff3603d20e4ff90a4291c4 Mon Sep 17 00:00:00 2001 From: Splines Date: Sun, 24 Nov 2024 01:44:21 +0100 Subject: [PATCH] Init dependencies module in Just --- .config/commands/deps.justfile | 22 ++++++++++++++++++++++ .justfile | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .config/commands/deps.justfile diff --git a/.config/commands/deps.justfile b/.config/commands/deps.justfile new file mode 100644 index 000000000..fb7feed15 --- /dev/null +++ b/.config/commands/deps.justfile @@ -0,0 +1,22 @@ +[private] +help: + @just --list --justfile {{source_file()}} + +# Shows the Dependabot alerts on GitHub +alerts: + #!/usr/bin/env bash + xdg-open https://github.com/MaMpf-HD/mampf/security/dependabot + +# Updates the Bundler package manager itself (NOT the Ruby gems) +update-bundler: + bundle update --bundler + +# Updates Ruby gems +update-gems: + bundle update + +# Updates Node.js packages +update-nodejs: + # You may have to run this command beforehand: + # sudo chown your_user_name -R ./node_modules/ + yarn upgrade diff --git a/.justfile b/.justfile index db8231023..d0e002ea4 100644 --- a/.justfile +++ b/.justfile @@ -5,14 +5,17 @@ help: @just --list -# Test-related commands +# Commands to test the MaMpf codebase mod test ".config/commands/test.justfile" # see https://github.com/casey/just/issues/2216 # alias t := test -# Docker-related commands +# Commands to manage the docker containers mod docker ".config/commands/docker.justfile" +# Commands to manage dependencies +mod deps ".config/commands/deps.justfile" + # Some utils, e.g. ERD-generation etc. mod utils ".config/commands/utils.justfile"