diff --git a/.cargo/config b/.cargo/config new file mode 100644 index 0000000..f28e890 --- /dev/null +++ b/.cargo/config @@ -0,0 +1,4 @@ +[target.x86_64-unknown-linux-musl] +linker = "x86_64-unknown-linux-musl-gcc" +objcopy = { path ="x86_64-unknown-linux-musl-objcopy" } +strip = { path ="x86_64-unknown-linux-musl-strip" } \ No newline at end of file diff --git a/.gitignore b/.gitignore index f8794c1..2ea090b 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ ns_tests/*.key ns_tests/* .DS_Store bash +.idea diff --git a/deploy_binary.sh b/deploy_binary.sh new file mode 100644 index 0000000..7a34720 --- /dev/null +++ b/deploy_binary.sh @@ -0,0 +1,5 @@ + + +VERSION=0.1.0 +scp -i ~/.ssh/do_rsa2 target/x86_64-unknown-linux-musl/release/peach-dyndns-server root@147.182.177.135:/srv/files.commoninternet.net/peach-dyndns-server_${VERSION}_Linux_x86_64 +