Commit 3c9bad2f authored by Moritz Sokoll's avatar Moritz Sokoll 🦀
Browse files

added ci and makefile

parent f1f29a01
Pipeline #289 failed with stages
image: 1.55.0
before_script:
- make format
build:
stage: build
script:
- make build
test:
stage: test
script:
- make test
all: build test format
build:
cargo build
test:
cargo test
format:
cargo fmt
......@@ -30,11 +30,10 @@ pub mod console {
let seq: String = match sequence {
DisplayControl::Clear => String::from("\x1b[2J"),
DisplayControl::ClearLine => String::from("\x1b[2K"),
DisplayControl::Reset => String::from("\x1bc")
DisplayControl::Reset => String::from("\x1bc"),
};
print!("{}", seq);
}
/// function to perform an action for cursor controlling (using a `CursorControl` enum)
/// # Arguments
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment