aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTeddy Wing2021-05-30 18:42:24 +0200
committerTeddy Wing2021-05-30 18:42:24 +0200
commit924905eee838bfb9b18cfa981c75dc6229e367b0 (patch)
tree4b78b90723adc9850997c05d3a6f71847361a528 /src
parent4ba5f79d097fc91b9749233529a28b06542d11dd (diff)
downloadreflectub-924905eee838bfb9b18cfa981c75dc6229e367b0.tar.bz2
main: Move current main code to `run()`
We'll call this from `main()` when things are more ready.
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index b2d8556..13b2b07 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -22,7 +22,9 @@ async fn main() {
// git::update(
// Path::new("/tmp/grsvp"),
// ).unwrap();
+}
+async fn run() -> anyhow::Result<()> {
let test_repos = vec![
github::Repo {
id: 18086664,
@@ -84,6 +86,8 @@ async fn main() {
e => panic!("{:?}", e),
}
}
+
+ Ok(())
}