Compare commits

..

2 Commits

Author SHA1 Message Date
0a1d68cb2d WIP: Still nothing meaningful
Some checks failed
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline failed
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:36:22 +01:00
285c4a10fd WIP: Preparing the codebase, nothing important
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:36:20 +01:00
10 changed files with 20 additions and 21 deletions

1
.gitattributes vendored
View File

@@ -1 +0,0 @@
resources/** filter=lfs diff=lfs merge=lfs -text

View File

@@ -7,11 +7,6 @@ steps:
commands: commands:
- rustup component add clippy - rustup component add clippy
- cargo clippy - cargo clippy
- name: Rust fmt
image: rust:1.91.1-bullseye
commands:
- rustup component add rustfmt
- cargo fmt --check
- name: Unit tests - name: Unit tests
image: rust:1.91.1-bullseye image: rust:1.91.1-bullseye
commands: commands:

4
Cargo.lock generated
View File

@@ -171,6 +171,10 @@ dependencies = [
"unicode-ident", "unicode-ident",
] ]
[[package]]
name = "termix"
version = "0.1.0"
[[package]] [[package]]
name = "unicode-ident" name = "unicode-ident"
version = "1.0.22" version = "1.0.22"

View File

@@ -1,5 +1,10 @@
[package]
name = "termix"
version = "0.1.0"
edition = "2024"
[workspace] [workspace]
resolver = "3" resolver = "3"
members = ["engine", "lib"] members = ["engine", "lib"]
[workspace.dependencies] [dependencies]

View File

@@ -1,17 +1,19 @@
use lib::{self, metadata::Metadata, track::Track}; 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]);

View File

@@ -1,5 +1,5 @@
pub mod metadata; pub mod metadata;
pub mod project;
pub mod region; pub mod region;
pub mod track; pub mod track;
pub mod project;

BIN
resources/audio/session.flac (Stored with Git LFS)

Binary file not shown.

BIN
resources/audio/session.mp3 (Stored with Git LFS)

Binary file not shown.

BIN
resources/audio/session.wav (Stored with Git LFS)

Binary file not shown.

3
src/main.rs Normal file
View File

@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}