📦 add PTTH_QUIC end server to PTTH subpackage
parent
da10ad28dc
commit
c5aadbe632
|
@ -15,15 +15,19 @@ export LC_ALL="C"
|
||||||
TEMP_GIBBERISH="ptth_server_build_BIHWLQXQ"
|
TEMP_GIBBERISH="ptth_server_build_BIHWLQXQ"
|
||||||
DEST="$TEMP_GIBBERISH/ptth"
|
DEST="$TEMP_GIBBERISH/ptth"
|
||||||
|
|
||||||
|
rm -rf "$TEMP_GIBBERISH"
|
||||||
|
|
||||||
mkdir "$TEMP_GIBBERISH"
|
mkdir "$TEMP_GIBBERISH"
|
||||||
mkdir "$DEST"
|
mkdir "$DEST"
|
||||||
|
|
||||||
cargo build --release -p ptth_server
|
cargo build --release -p ptth_server
|
||||||
|
cargo build --release -p quic_demo --bin quic_demo_end_server
|
||||||
|
|
||||||
mkdir -p "$DEST/handlebars/server"
|
mkdir -p "$DEST/handlebars/server"
|
||||||
rsync -r handlebars/server/ "$DEST/handlebars/server/"
|
rsync -r handlebars/server/ "$DEST/handlebars/server/"
|
||||||
|
|
||||||
cp target/release/ptth_server "$DEST/ptth_server"
|
cp target/release/ptth_server "$DEST/"
|
||||||
|
cp target/release/quic_demo_end_server "$DEST/"
|
||||||
|
|
||||||
(
|
(
|
||||||
cd "$TEMP_GIBBERISH" || exit
|
cd "$TEMP_GIBBERISH" || exit
|
||||||
|
|
Loading…
Reference in New Issue