Skip to content

Commit

Permalink
updated update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmasoldi3r committed Dec 23, 2023
1 parent d6c4cb6 commit 3e15776
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
10 changes: 5 additions & 5 deletions update
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions update.ps1
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 3e15776

Please sign in to comment.