Skip to content

Commit

Permalink
Init dependencies module in Just
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Nov 24, 2024
1 parent 8d58aea commit c900bd2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
22 changes: 22 additions & 0 deletions .config/commands/deps.justfile
Original file line number Diff line number Diff line change
@@ -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
7 changes: 5 additions & 2 deletions .justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit c900bd2

Please sign in to comment.