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:
Alexey 2025-12-19 16:22:02 +03:00
commit 9d1261b74d
4 changed files with 29 additions and 0 deletions

View file

@ -40,4 +40,6 @@ pub enum Objects {
pub struct InitArgs {
#[arg(long,short)]
pub path: Option<PathBuf>,
#[arg(long,short)]
pub implpath: Option<PathBuf>,
}

View file

@ -71,6 +71,7 @@ fn main() {
let config = Config {
path: path.clone(),
impl_path: args.implpath.clone(),
..Default::default()
};