gotta go fast
This commit is contained in:
parent
364d293a4b
commit
d30d06bfdb
2 changed files with 14 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
target/
|
||||
dist/
|
||||
cards/
|
||||
|
|
13
build
Executable file
13
build
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
# build
|
||||
cargo build --release
|
||||
rm -rf ./cards
|
||||
mkdir cards
|
||||
cp ./target/release/server ./cards/
|
||||
rm -rf ./dist
|
||||
trunk build --release
|
||||
cp -r ./dist ./cards/
|
||||
|
||||
# deploy - note deez is the hostname of my server
|
||||
rsync -avzp cards deez:
|
Loading…
Add table
Reference in a new issue