From 8d2e9ed9805d284157f7a946010209ce293e6d01 Mon Sep 17 00:00:00 2001 From: "H. Utku Maden" Date: Tue, 19 Mar 2024 22:27:08 +0300 Subject: [PATCH] Make more shell scripts. --- .gitattributes | 1 + build_native.sh | 3 ++- publish.sh | 11 +++++++++++ 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .gitattributes create mode 100644 publish.sh diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cc0d143 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eof=lf diff --git a/build_native.sh b/build_native.sh index 9dded15..ed0b819 100644 --- a/build_native.sh +++ b/build_native.sh @@ -1,3 +1,4 @@ #!/bin/bash cd $(dirname "$0") -Quik.Common/sh/quik_build_native.sh . \ No newline at end of file +Quik.Common/sh/quik_build_native.sh . +dotnet build diff --git a/publish.sh b/publish.sh new file mode 100644 index 0000000..2569bea --- /dev/null +++ b/publish.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +cd $(dirname "$0") +if [ -z "$QUIK_API_KEY" ] +then + echo "Please define QUIK_API_KEY" + exit 1 +fi + +dotnet nuget add source -n QUIK -u themixedupstuff -p "$QUIK_API_KEY" https://git.mixedup.dev/api/packages/QUIK/nuget/index.json +dotnet nuget push -s QUIK