Skip to content

Commit

Permalink
fix: remove exits from just
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles committed May 14, 2024
1 parent adf44b3 commit 59e3314
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,19 @@ just-check:
#!/usr/bin/bash
find "${project_root}" -type f -name "*.just" | while read -r file; do
echo "Checking syntax: $file"
just --unstable --fmt --check -f $file || { exit 1; }
just --unstable --fmt --check -f $file
done
just --unstable --fmt --check -f ${project_root}/Justfile || { exit 1; }
just --unstable --fmt --check -f ${project_root}/Justfile

# Fix Just Syntax
[private]
just-fix:
#!/usr/bin/bash
find "${project_root}" -type f -name "*.just" | while read -r file; do
echo "Checking syntax: $file"
just --unstable --fmt -f $file || { exit 1; }
just --unstable --fmt -f $file
done
just --unstable --fmt -f ${project_root}/Justfile || { exit 1; }
just --unstable --fmt -f ${project_root}/Justfile

# Build Image
build image="" target="" version="":
Expand Down

0 comments on commit 59e3314

Please sign in to comment.