mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 04:55:42 +09:00
ci: add tests (#1141)
This commit is contained in:
1 parent
ad99de22bc
commit
545814abc1
152 files changed
+287
-532
No files matched your search
@@ -378,7 +378,7 @@ fn resolve_desktop_dir() -> Result<PathBuf> {
|
||||
))
|
||||
}
|
||||
|
||||
fn write_build_channel_file(root: &Path, channel: &str) -> Result<()> {
|
||||
pub(crate) fn write_build_channel_file(root: &Path, channel: &str) -> Result<()> {
|
||||
ensure!(
|
||||
matches!(channel, "stable" | "canary"),
|
||||
"Invalid BUILD_CHANNEL: {channel}. Must be 'stable' or 'canary'."
|
||||
@@ -2703,7 +2703,7 @@ fn write_macos_releases(
|
||||
}],
|
||||
});
|
||||
write_json_pretty(&dest.join("RELEASES.json"), &releases)?;
|
||||
fs::copy(dest.join("RELEASES.json"), dest.join("releases.json"))?;
|
||||
write_json_pretty(&dest.join("releases.json"), &releases)?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user