Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/CI Tools Integration Points #62

Closed
JamesMc86 opened this issue Oct 18, 2018 · 2 comments
Closed

Dev/CI Tools Integration Points #62

JamesMc86 opened this issue Oct 18, 2018 · 2 comments
Milestone

Comments

@JamesMc86
Copy link
Collaborator

As a tool developer I want to make it as easy as possible to call my tools.

One way we can tool this is to have a CLI Tools directory. If we don't find a VI locally, we can search here.

That way, as a developer, I can install a launcher into this directory for my-tool.vi and then users can just type labview-cli my-tool.vi to launch it.

A future evolution might be to have LabVIEW specific folders to avoid compilations but we will start simple.

@JamesMc86 JamesMc86 added this to the 2.1 milestone Oct 18, 2018
@JamesMc86 JamesMc86 changed the title Common Search Path for Tools Dev/CI Tools Integration Points Jun 21, 2019
@JamesMc86
Copy link
Collaborator Author

JamesMc86 commented Jun 21, 2019

I would alter this slightly. Here is what I suggest.

  1. We have a "search" directory in vi.lib for tools to install to. This allows tools to be distributed through VIPM and compiled on install for the right version of LabVIEW.
  2. A --Tool option with the name (with or without .vi) will call this tool from the VI lib of the relevant version of LabVIEW. Alternatively this could be invoked automatically if the provided parameter does not exist locally (probably better)
  3. We could also provide a folder to install batch file "wrappers" so that the tool name can be the main call. i.e. echo-call --lv-ver 2015 -- "parameter"
  4. We should include an echo tool as an example.

My goal with this is not to integrate CI tools directly into this package but make it very easy for additional packages to integrate with this.

JamesMc86 added a commit that referenced this issue Jun 25, 2019
@JamesMc86
Copy link
Collaborator Author

done the search directory as <vi.lib>\G CLI Tools. Then ratrher than having --tool instead if the file doesn't exist locally we will search this directory.

The name can still use directories so for example wiresmith\lvbuild will extend to <vi.lib>\G CLI Tools\wiresmith\lvbuild.vi

Now need to build a demo tool for testing and demonstration purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant