Run the pre-commit locally
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
This commit is contained in:
@@ -2,18 +2,18 @@ use lib::{self, metadata::Metadata, track::Track};
|
|||||||
|
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
||||||
let mut current_project = lib::project::Project{
|
let mut current_project = lib::project::Project{
|
||||||
name: "test".to_string(),
|
name: "test".to_string(),
|
||||||
tracks: None,
|
tracks: None,
|
||||||
regions: None,
|
regions: None,
|
||||||
current_sample: 0
|
current_sample: 0
|
||||||
};
|
};
|
||||||
|
|
||||||
let track = Track{
|
let track = Track{
|
||||||
metadata: Metadata::new("test".to_string()),
|
metadata: Metadata::new("test".to_string()),
|
||||||
track_type: lib::track::TrackType::Audio,
|
track_type: lib::track::TrackType::Audio,
|
||||||
active: true
|
active: true
|
||||||
};
|
};
|
||||||
|
|
||||||
current_project.tracks = Some(vec![track]);
|
current_project.tracks = Some(vec![track]);
|
||||||
|
|||||||
Reference in New Issue
Block a user