Skip to content

Commit

Permalink
Merge pull request #2160 from actonlang/test-dev-mode
Browse files Browse the repository at this point in the history
Use --dev to build deps in test cmd
  • Loading branch information
plajjan authored Feb 8, 2025
2 parents a999554 + d06b13c commit d06b1d6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/src/acton.act
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ actor BuildProject(process_cap, env, args, on_build_success: action(str) -> None
new_dep_arg = parts[0] + "=" + absolute_path
dep_args.extend(["--dep", new_dep_arg])
cmd = ["build"] + dep_build_cmd_args(args) + dep_args
# Build deps in dev mode if we are building tests
if build_tests:
cmd.append("--dev")
cr = CompilerRunner(
process_cap,
env,
Expand Down

0 comments on commit d06b1d6

Please sign in to comment.