aboutsummaryrefslogtreecommitdiffstats
path: root/mkosi.build
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2021-05-03 14:40:47 +0200
committerDennis Eriksen <d@ennis.no>2021-05-03 14:40:47 +0200
commit30f3411c6929397a20459e3be3454ce1b51649a6 (patch)
treed5be0107263bc73a1b1a160545dccfaa26656f60 /mkosi.build
parentaim for more persistent logging. Set machine-id if you want more persistent l... (diff)
downloadmkosi-vaultwarden-30f3411c6929397a20459e3be3454ce1b51649a6.tar.gz
renaming bitwarden_rs to vaultwarden
Diffstat (limited to 'mkosi.build')
-rwxr-xr-xmkosi.build12
1 files changed, 6 insertions, 6 deletions
diff --git a/mkosi.build b/mkosi.build
index 7453459..0fac659 100755
--- a/mkosi.build
+++ b/mkosi.build
@@ -8,16 +8,16 @@ export RUSTUP_HOME=/root/.rustup \
VAULT_VERSION=v2.15.1
mkdir /root/src && cd /root/src
-git clone https://github.com/dani-garcia/bitwarden_rs.git
+git clone https://github.com/dani-garcia/vaultwarden.git
## get vault ##
-mkdir /root/src/bitwarden_rs
-cd /root/src/bitwarden_rs
+mkdir /root/src/vaultwarden
+cd /root/src/vaultwarden
curl -L https://github.com/dani-garcia/bw_web_builds/releases/download/$VAULT_VERSION/bw_web_$VAULT_VERSION.tar.gz | tar xz
-cd /root/src/bitwarden_rs
+cd /root/src/vaultwarden
## Setting up rust for build ##
@@ -34,11 +34,11 @@ cargo --version
rustc --version
-## building bitwarden_rs ##
+## building vaultwarden ##
cargo build --features postgresql --release
## move stuff ##
mv web-vault ${DESTDIR}/
-mv target/release/bitwarden_rs ${DESTDIR}/
+mv target/release/vaultwarden ${DESTDIR}/