From 03bfe08e1dd9faf48b06cb146bfa446575cde88a Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 20 Dec 2019 20:18:41 +0000 Subject: chore: Significantly restructure folder layout This moves the various projects from "type-based" folders (such as "services" or "tools") into more appropriate semantic folders (such as "nix", "ops" or "web"). Deprecated projects (nixcon-demo & gotest) which only existed for testing/demonstration purposes have been removed. (Note: *all* builds are broken with this commit) --- services/nixcon-demo/src/main.rs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 services/nixcon-demo/src/main.rs (limited to 'services/nixcon-demo/src') diff --git a/services/nixcon-demo/src/main.rs b/services/nixcon-demo/src/main.rs deleted file mode 100644 index 226fe49ed1a3..000000000000 --- a/services/nixcon-demo/src/main.rs +++ /dev/null @@ -1,19 +0,0 @@ -use rouille::Response; -use std::env; -use std::io; -use std::process; - -const GREETING: &str = "Haló NixCon!"; - -fn main() { - if let Some(arg) = env::args().last() { - if arg == "--cli" { - println!("{}", GREETING); - process::exit(0); - } - } - - rouille::start_server("0.0.0.0:8080", move |req| { - rouille::log(req, io::stdout(), || Response::text(GREETING)) - }) -} -- cgit 1.4.1