feat: create lib and cli with a simple reference to start working

This commit is contained in:
Trollwut committed 2020-12-01 16:26:22 +01:00
1 parent d2a8219d66
commit 16a5593287
2 files changed
+16

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
use clockcalclib::test;
pub fn main() {
test();
}
+11
View File
@@ -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!");
}