14 lines
359 B
Rust
14 lines
359 B
Rust
use std::path::Path;
|
|
|
|
use crate::stage0_config;
|
|
|
|
pub fn get_source(source: &Path) -> stage0_config::PleaseConfigBuilder {
|
|
stage0_config::PleaseConfigBuilder {
|
|
project: Some(stage0_config::PleaseProjectConfigBuilder {
|
|
source: Some(source.to_path_buf()),
|
|
..Default::default()
|
|
}),
|
|
..Default::default()
|
|
}
|
|
}
|