nasa / fprime-tools

F´ Python tooling and helpers.
https://github.com/nasa/fprime
Apache License 2.0
20 stars 38 forks source link

fprime-util purge native does not purge native #47

Closed kevin-f-ortega closed 2 years ago

kevin-f-ortega commented 2 years ago
F´ Version 47afb72e1f2cb79c1ab475458b0ed3faca5d317c
Affected Component fprime-tools Version: 3.0.1

Problem Description

I have my default_toolchain defined as vxworks. When I purge native, fprime-tools tries to remove my vxworks build cache instead of my native build cache.

How to Reproduce

  1. Define default_toolchain in settings.ini to a non-native toolchain
  2. fprime-util generate native
  3. fprime-util purge native

Expected Behavior

I expect purge native to remove the build-fprime-automatic-native build cache instead of build-fprime-automatic-vxworks.

LeStarch commented 2 years ago

Fixed by #54