diff --git a/update b/update index 22e396d..c80aa72 100755 --- a/update +++ b/update @@ -1,6 +1,6 @@ -#!/bin/env saturnus +#!/bin/bash -os.execute("git pull"); -os.execute("cargo install --path ."); -os.execute("cd runtime && cargo build --release"); -os.execute("cargo install --path janus"); +git pull +cargo install --path . +cd runtime && cargo build --release +cargo install --path janus diff --git a/update.ps1 b/update.ps1 new file mode 100644 index 0000000..1bb84cf --- /dev/null +++ b/update.ps1 @@ -0,0 +1,12 @@ +# Git pull +git pull + +# Cargo install +cargo install --path . + +# Change directory to 'runtime' and build with release configuration +Set-Location -Path "runtime" +cargo build --release + +# Install Janus using Cargo +cargo install --path janus \ No newline at end of file