wip
parent
5a9dcac684
commit
3653f286f8
|
|
@ -0,0 +1,16 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
echo source ./package.sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
cd ${based%/*}
|
||||||
|
tar_f=${based##*/}.tar
|
||||||
|
rm -f "$tar_f"
|
||||||
|
tar -cf "$tar_f" ${based##*/}
|
||||||
|
cleanup() { rm "$tar_f"; }
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
scp_scratch.sh "$tar_f" squeaky2x3@192.168.0.86:/volume1/video/FTP/
|
||||||
|
ssh_scratch.sh ls /volume1/video/FTP/"$tar_f"
|
||||||
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
test -f ./rusty-pipe-signed.exe || exit 1
|
||||||
|
|
||||||
|
based=$(mktemp -d)
|
||||||
|
for f in ./*.yaml; do
|
||||||
|
d="$based/${f%.yaml}.d"
|
||||||
|
mkdir -p "$d"
|
||||||
|
cp "$f" "$d"/rusty-pipe.yaml
|
||||||
|
cp "$(realpath ./rusty-pipe-signed.exe)" "$d"/rusty-pipe-windows.exe
|
||||||
|
cp "$(realpath ./rusty-pipe-notwindows.bin)" "$d"/rusty-pipe-notwindows.bin
|
||||||
|
done
|
||||||
|
pushd "$based"
|
||||||
|
for d in ./*/; do
|
||||||
|
zip -r -7 ${d%/}.zip $d
|
||||||
|
rm -rf "$d"
|
||||||
|
done
|
||||||
|
popd
|
||||||
|
echo "$based"
|
||||||
|
du -sh "$based"/*
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../../../rusty-pipe.d/target/release/rusty-pipe
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../../../rusty-pipe.d/target/x86_64-pc-windows-gnu/release/rusty-pipe-signed.exe
|
||||||
Loading…
Reference in New Issue