build: Preparing stuff to create debian package
- Added deb binary target to generate incomplete control file - Added CLI init option to insert impl_path in config
This commit is contained in:
parent
46af205aef
commit
9d1261b74d
4 changed files with 29 additions and 0 deletions
|
|
@ -40,4 +40,6 @@ pub enum Objects {
|
|||
pub struct InitArgs {
|
||||
#[arg(long,short)]
|
||||
pub path: Option<PathBuf>,
|
||||
#[arg(long,short)]
|
||||
pub implpath: Option<PathBuf>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ fn main() {
|
|||
|
||||
let config = Config {
|
||||
path: path.clone(),
|
||||
impl_path: args.implpath.clone(),
|
||||
..Default::default()
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue