Build backend from its directory
This commit is contained in:
parent
221d813c2b
commit
eaef6dc77e
1 changed files with 3 additions and 0 deletions
|
|
@ -21,8 +21,11 @@ def main [host: string, destination: string, ssh_key: path] {
|
|||
trunk build --release
|
||||
cd ..
|
||||
|
||||
cd backend
|
||||
cargo test
|
||||
cargo build --target $target --release
|
||||
cd ..
|
||||
|
||||
invoke_ssh [sudo systemctl stop recipes]
|
||||
copy_ssh ./target/($target)/release/recipes $destination
|
||||
invoke_ssh [rm -rf recipes/static]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue