fn publish(&self) {
        std::process::Command::new("git")
            .args(&["add", "."])
            .current_dir("./built")
            .status()
            .expect("Failed to add all files");

        std::process::Command::new("git")
            .args(&["commit", "-m", "TODO: add a real commit message"])
            .current_dir("./built")
            .status()
            .expect("Failed to commit");

        std::process::Command::new("git")
            .args(&["push"])
            .current_dir("./built")
            .status()
            .expect("Failed to push");

        println!("Published")
    }
//this is pretty weak. We need a better publish
//this just runs the following:
// git add built/*
// git commit -m "TODO: add a commit message"
// git push
// and relies on the local git config to handle push correctly
this is pretty weak. We need a better publish
this just runs the following:
git add built
git commit -m "TODO: add a commit message"
git push
and relies on the local git config to handle push correctly
this is pretty weak . We need a better publish this just runs the following : git add built git commit - m " TODO : add a commit message " git push and relies on the local git config to handle push correctly
fn publish(&self) {
        std::process::Command::new("git")
            .args(&["add", "."])
            .current_dir("./built")
            .status()
            .expect("Failed to add all files");
        std::process::Command::new("git")
            .args(&["commit", "-m", "TODO: add a real commit message"])
            .current_dir("./built")
            .status()
            .expect("Failed to commit");
        std::process::Command::new("git")
            .args(&["push"])
            .current_dir("./built")
            .status()
            .expect("Failed to push");
        println!("Published")
    }
fn publish ( & self ) { std :: process :: Command :: new ( " " ) . args ( & [ " " , " " ] ) . current_dir ( " " ) . status ( ) . expect ( " " ) ; std :: process :: Command :: new ( " " ) . args ( & [ " " , " " , " " ] ) . current_dir ( " " ) . status ( ) . expect ( " " ) ; std :: process :: Command :: new ( " " ) . args ( & [ " " ] ) . current_dir ( " " ) . status ( ) . expect ( " " ) ; println ! ( " " ) }
this is pretty weak.
this is pretty weak .
&self