Compare commits

..

7 Commits

Author SHA1 Message Date
46241cce5f WIP: Remove tha root cargo package
Some checks failed
ci/woodpecker/push/code_tests Pipeline failed
ci/woodpecker/push/pre_commit_test Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 19:26:02 +01:00
f413c43919 Add audio files for testing
All checks were successful
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 19:23:38 +01:00
1a679693d3 WIP: Apply cargo fmt checks
All checks were successful
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:59:30 +01:00
690468d0ab Run the pre-commit locally
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:59:30 +01:00
12132b2798 WIP: Still nothing meaningful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:59:30 +01:00
20fe694a8f WIP: Preparing the codebase, nothing important
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:59:29 +01:00
a9efa652ef Add cargo fmt to the pipeline
All checks were successful
ci/woodpecker/push/code_tests Pipeline was successful
ci/woodpecker/push/pre_commit_test Pipeline was successful
Signed-off-by: Nikolai Rodionov <allanger@badhouseplants.net>
2025-11-23 18:58:22 +01:00
10 changed files with 21 additions and 20 deletions

1
.gitattributes vendored Normal file
View File

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

View File

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

4
Cargo.lock generated
View File

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

View File

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

View File

@@ -1,19 +1,17 @@
use lib::{self, metadata::Metadata, track::Track};
fn main() {
let mut current_project = lib::project::Project{
let mut current_project = lib::project::Project {
name: "test".to_string(),
tracks: None,
regions: None,
current_sample: 0
current_sample: 0,
};
let track = Track{
let track = Track {
metadata: Metadata::new("test".to_string()),
track_type: lib::track::TrackType::Audio,
active: true
active: true,
};
current_project.tracks = Some(vec![track]);

View File

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

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

View File

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