feat: create lib and cli with a simple reference to start working
This commit is contained in:
1 parent
d2a8219d66
commit
16a5593287
2 files changed
+16
No files matched your search
@@ -0,0 +1,5 @@
|
|||||||
|
use clockcalclib::test;
|
||||||
|
|
||||||
|
pub fn main() {
|
||||||
|
test();
|
||||||
|
}
|
||||||
+11
@@ -0,0 +1,11 @@
|
|||||||
|
#[cfg(test)]
|
||||||
|
mod tests {
|
||||||
|
#[test]
|
||||||
|
fn it_works() {
|
||||||
|
assert_eq!(2 + 2, 4);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
pub fn test() {
|
||||||
|
println!("This lib seems to work!");
|
||||||
|
}
|
||||||
Reference in new issue
Block a user