* move client/server/config into shared * move platforms into shared * move head drops into shared * move tb_entities to shared * reduce server to just a call into shared * get solo play working * fix server opening window * fix fmt * extracted a few more modules from client * near completely migrated client * fixed duplicate CharacterInputEnabled definition * simplify a few things related to builds * more simplifications * fix warnings/check * ci update * address comments * try fixing macos steam build * address comments * address comments * CI tweaks with default client feature --------- Co-authored-by: PROMETHIA-27 <electriccobras@gmail.com>
18 lines
375 B
Rust
18 lines
375 B
Rust
use vergen_gitcl::{Emitter, GitclBuilder};
|
|
|
|
fn main() {
|
|
let gitcl = GitclBuilder::default()
|
|
.branch(true)
|
|
.sha(true)
|
|
.build()
|
|
.unwrap();
|
|
Emitter::default()
|
|
.add_instructions(&gitcl)
|
|
.unwrap()
|
|
.emit()
|
|
.unwrap();
|
|
|
|
#[cfg(target_os = "linux")]
|
|
println!("cargo:rustc-link-arg=-Wl,-rpath,$ORIGIN");
|
|
}
|