vesc_tool
vesc_tool copied to clipboard
Building a package with failed lisp import exits successfully
Having a non-existent import in a package lisp file like so:
(import "funky-import" funky)
Calling vesc_tool --buildPkg prints an error, but passes successfully (returning a 0 exit code). It should fail with a non-zero exit code instead.
Sample output from the current build system of the Float package:
...
vesc-tool --buildPkg "float.vescpkg:float.lisp:ui.qml:0:README-pkg.md:Float"
"Append Imports" : "Line: 1: Imported file not found: /home/lu/dev/vesc_pkg-float/float/funky-import. If you are importing from a package in the git repository you might need to update the package archive. That can be done from the the VESC Packages page."
Read lisp script done
Read qml script done
Package Saved!