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