Skip to content

Commit

Permalink
justfile(s): Update for Rust boulder
Browse files Browse the repository at this point in the history
Signed-off-by: Ikey Doherty <[email protected]>
  • Loading branch information
ikeycode committed Mar 31, 2024
1 parent cc6e847 commit 72a9539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
default: (_build build_file)

boulder_profile := env_var_or_default('BOULDER_PROFILE', 'local-x86_64')
build_file := join(invocation_directory(), "stone.yml")
build_file := join(invocation_directory(), "stone.yaml")

# Build the stone.yml recipe using boulder
_build target:
cd {{ invocation_directory() }}; sudo boulder bi {{ if path_exists(target) == "true" { target } else { error("Missing stone.yml file") } }} -p {{ boulder_profile }}
cd {{ invocation_directory() }}; sudo boulder build {{ if path_exists(target) == "true" { target } else { error("Missing stone.yml file") } }} -p {{ boulder_profile }}

# Build stone.yml from the current directory
build: (_build build_file)
Expand Down
4 changes: 2 additions & 2 deletions l/linux-kvm/justfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build_profile := env_var_or_default('BOULDER_PROFILE', 'local-x86_64')
build_file := join(invocation_directory(), "stone.yml")
build_file := join(invocation_directory(), "stone.yaml")

pkgs_file := join(invocation_directory(), "pkglist")
cache_dir := join(invocation_directory(), "moss_cache")
Expand Down Expand Up @@ -30,7 +30,7 @@ nspawn: _prepare_root

# Build the stone.yml recipe using boulder
_build target:
cd {{ invocation_directory() }}; sudo boulder bi {{ if path_exists(target) == "true" { target } else { error("Missing stone.yml file") } }} -p {{ build_profile }}
cd {{ invocation_directory() }}; sudo boulder build {{ if path_exists(target) == "true" { target } else { error("Missing stone.yml file") } }} -p {{ build_profile }}

# Build stone.yml from the current directory
build: (_build build_file)

0 comments on commit 72a9539

Please sign in to comment.