Skip to content

Commit

Permalink
Delete app/build.rs to prevent build issues outside of git repo
Browse files Browse the repository at this point in the history
  • Loading branch information
timsueberkrueb committed Jan 5, 2024
1 parent 01d50f1 commit 57074e3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 21 deletions.
18 changes: 0 additions & 18 deletions app/build.rs

This file was deleted.

2 changes: 1 addition & 1 deletion app/src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn exec() -> miette::Result<()> {
}

#[derive(Parser)]
#[clap(author, about, version=crate::VERSION, long_about = None)]
#[clap(author, about, long_about = None)]
struct Cli {
#[clap(subcommand)]
command: Command,
Expand Down
2 changes: 0 additions & 2 deletions app/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ mod cli;
#[cfg(not(target_arch = "wasm32"))]
mod result;

pub const VERSION: &str = env!("VERSION");

#[cfg(not(target_arch = "wasm32"))]
fn main() -> miette::Result<()> {
miette::set_panic_hook();
Expand Down

0 comments on commit 57074e3

Please sign in to comment.