Temporarily restore integration with Amplitude

This will be reverted later, once we fully switch to Mixpanel
This commit is contained in:
Joseph T Lyons 2022-10-20 19:27:55 -04:00
parent ac5d5e2451
commit 022f70b1de
9 changed files with 348 additions and 2 deletions

View file

@ -6,6 +6,9 @@ fn main() {
if let Ok(api_key) = std::env::var("ZED_MIXPANEL_TOKEN") {
println!("cargo:rustc-env=ZED_MIXPANEL_TOKEN={api_key}");
}
if let Ok(api_key) = std::env::var("ZED_AMPLITUDE_API_KEY") {
println!("cargo:rustc-env=ZED_AMPLITUDE_API_KEY={api_key}");
}
let output = Command::new("npm")
.current_dir("../../styles")