NI Package Management Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Vaaben

Add pre/post build actions to Labview Package build spec

Status: New

I propose to add pre- and post build actions to the LabVIEW package build spec as already present in e.g. executable build spec

CLA, Teststand and advanced SQL
4 Comments
CL_eisenwr
Active Participant

I wonder if the reason this not present is that you are basically forced to use another Build Specification to populate your NI Package. I am not sure what I would use pre-build action for, but I could definitely see the post-build being helpful (copy package to another location, register to an additional NIPM feed, email the world of your new amazing improvements)

__________________________________
Bill Eisenhower
Certified LabVIEW & TestStand Developer
Vaaben
Member

A pre-build action for a package could e.g. be to update the version number or description

CLA, Teststand and advanced SQL
jyoung8711
Member

I would further add that this would be a nice feature to have for NIPB as well...

Chris_Cilino
Active Participant

Having pre and post build steps also allows us to specify where the ni package is located and referenced by the feed. As of 2021, when the Add to Feed option is checked in the build spec, the package is always placed in the same directory as the feed. I have a different preference on where packages are located relative to the feed.

Chris_Cilino_0-1645456979918.png