Skip to content

Commit

Permalink
Stub out macos setup
Browse files Browse the repository at this point in the history
Just enough to get it compiling on CI
  • Loading branch information
jonmast committed Dec 29, 2020
1 parent b479179 commit cd7673a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 5 additions & 0 deletions src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ mod linux;
#[cfg(target_os = "linux")]
use linux as imp;

#[cfg(target_os = "macos")]
mod macos;
#[cfg(target_os = "macos")]
use macos as imp;

pub fn setup() {
println!("Welcome to Oxidux!");
if let Err(e) = try_setup() {
Expand Down
3 changes: 1 addition & 2 deletions src/setup/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ use std::process::Command;

use eyre::{bail, eyre, WrapErr};

use super::SetupArgs;
use super::SetupResult;
use super::{SetupArgs, SetupResult};

pub(super) fn setup(args: &SetupArgs) -> SetupResult {
verify_tld_resolver(args)?;
Expand Down
5 changes: 5 additions & 0 deletions src/setup/macos.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
use super::{SetupArgs, SetupResult};

pub(super) fn setup(args: &SetupArgs) -> SetupResult {
todo!("MacOS setup not yet implemented");
}

0 comments on commit cd7673a

Please sign in to comment.