Skip to content
This repository has been archived by the owner on Jun 14, 2023. It is now read-only.

Add build Command #37

Open
jmwright opened this issue Jan 25, 2019 · 1 comment
Open

Add build Command #37

jmwright opened this issue Jan 25, 2019 · 1 comment
Assignees

Comments

@jmwright
Copy link
Contributor

This command would amalgamate models and data files into their compiled versions in the dist directory. The first one to be called will be the the sliderule-rs build_bom function from the issue here.

@jmwright jmwright self-assigned this Jan 25, 2019
@jmwright
Copy link
Contributor Author

The cargo CLI can use other CLIs as if they're commands if their names are prefixed with cargo- and they're in the PATH. It seems like that same method could work well for the Sliderule build system. The build command could be it's own CLI with it's own support crate(s), but act like it's part of sliderule-cli to give a more cohesive UX.

https://doc.rust-lang.org/book/ch14-05-extending-cargo.html

Workspaces might also be tangentially related to this to organize the crates in repos as well.

https://doc.rust-lang.org/book/ch14-03-cargo-workspaces.html

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

No branches or pull requests

1 participant