summaryrefslogtreecommitdiff
path: root/export.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'export.ps1')
-rw-r--r--export.ps113
1 files changed, 13 insertions, 0 deletions
diff --git a/export.ps1 b/export.ps1
new file mode 100644
index 0000000..d24c37e
--- /dev/null
+++ b/export.ps1
@@ -0,0 +1,13 @@
+# Require : Cargo (Rust), ISCC (Inno Setup)
+
+# Build
+cargo build --workspace --release
+if ($LASTEXITCODE -ne 0) {
+ # Build failed
+} else {
+ # Build succeeded
+ # Export
+ if (cargo run --manifest-path crates/build_helper/Cargo.toml --bin exporter) {
+ ISCC /Q .\setup\windows\setup_jv_cli.iss
+ }
+}