Skip to content

Commit

Permalink
lestarch: cli fix for purging (#43)
Browse files Browse the repository at this point in the history
* lestarch: cli fix for purging

* lestarch: formatting fix
  • Loading branch information
LeStarch committed Jan 25, 2022
1 parent fd555d4 commit f12fcb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fprime/fbuild/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def run_fbuild_cli(
cmake_args.update({"CMAKE_TOOLCHAIN_FILE": toolchain})
build.generate(cmake_args)
elif parsed.command == "purge":
# Since purge does not load its "base", we need to overload the platform
build.platform = parsed.platform
for purge_build in Build.get_build_list(build, parsed.build_cache):
print(
f"[INFO] {parsed.command.title()} build directory at: {purge_build.build_dir}"
Expand Down

0 comments on commit f12fcb1

Please sign in to comment.