Report editor open and save events to Amplitude
Co-authored-by: Max Brunsfeld <max@zed.dev>
This commit is contained in:
parent
f0c50c1e0a
commit
824fdb54e6
8 changed files with 137 additions and 35 deletions
|
@ -3,6 +3,10 @@ use std::process::Command;
|
|||
fn main() {
|
||||
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.14");
|
||||
|
||||
if let Ok(api_key) = std::env::var("AMPLITUDE_API_KEY") {
|
||||
println!("cargo:rustc-env=AMPLITUDE_API_KEY={api_key}");
|
||||
}
|
||||
|
||||
let output = Command::new("npm")
|
||||
.current_dir("../../styles")
|
||||
.args(["install", "--no-save"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue