Compare commits

...

5 Commits

Author SHA1 Message Date
vaskes 1cdd0fd512 Merge pull request '1 bootstrap cargo project skeleton' (#13) from 1-bootstrap-cargo-project-skeleton into main
ci / check (push) Successful in 2m42s
- #1
- #2
2026-10-18 14:59:18 +00:00
vaskes fd57c2556d ci: fix paypline
ci / check (push) Successful in 3m27s
2026-10-18 17:52:04 +03:00
vaskes c9116c1742 ci: fix paypline
ci / check (push) Failing after 5s
2026-10-18 14:05:27 +03:00
vaskes 00ef64654e ci: add Gitea Actions workflow with fmt, clippy and test (#2)
ci / check (push) Failing after 3m52s
2026-10-18 13:47:48 +03:00
vaskes 20dcc4f20d feat: bootstrap viexp crate with lib/bin split and sanity test (#1) 2026-10-18 13:46:58 +03:00
6 changed files with 46 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
name: ci
on: [push]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- run: cargo fmt --check
- run: cargo clippy -- -D warnings
- run: cargo test
+5
View File
@@ -23,3 +23,8 @@ Thumbs.db
*.swp
*.swo
*~
# Added by cargo
/target
Generated
+7
View File
@@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
[[package]]
name = "viexp"
version = "0.1.0"
+7
View File
@@ -0,0 +1,7 @@
[package]
name = "viexp"
version = "0.1.0"
edition = "2024"
license = "GPL-3.0-or-later"
[dependencies]
+11
View File
@@ -0,0 +1,11 @@
pub fn run() {
print!("viexp {}", env!("CARGO_PKG_VERSION"));
}
#[cfg(test)]
mod tests {
#[test]
fn sanity() {
assert_eq!(2 + 2, 4);
}
}
+3
View File
@@ -0,0 +1,3 @@
fn main() {
viexp::run()
}