Skip to content

Commit

Permalink
main removed $RR from crystal build command
Browse files Browse the repository at this point in the history
The github action for release was failing because it did
not know the correct value of the envar RR which
locally us set by the direnv utility via the .envrc file.
  • Loading branch information
MadBomber committed Jun 11, 2022
1 parent d5db577 commit 9f7087b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crystal/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
# https://github.com/casey/just
#

repo_root := "$PWD/.."


# List available recipes
@help:
Expand All @@ -16,7 +18,6 @@
just -l --list-prefix 'just ' --list-heading ''
echo


alias compile := build

# static builds only work on linux (and only if you have the dev libraries installed)
Expand All @@ -27,7 +28,7 @@ extra_build_args := if join(os(), static) == "linux/true" { "--static" } else {
# Builds the crystal version of justprep
build: _make_bin
crystal build {{extra_build_args}} --no-debug --release -p -o bin/justprep \
$RR/ruby/lib/justprep/common/*.crb \
{{repo_root}}/ruby/lib/justprep/common/*.crb \
justprep.cr


Expand Down

0 comments on commit 9f7087b

Please sign in to comment.