aboutsummaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2023-01-05 21:10:26 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2023-01-05 21:10:26 -0500
commit1e1cd261dd9c944f595c9023c8aa3e76aae751af (patch)
tree7b18c557dc38cb0dcc99f15a489298c1bd54f40f /build.sh
parentc71b37eb23d4c8af7ab983de34c6da5be9363f3a (diff)
downloadpaste-1e1cd261dd9c944f595c9023c8aa3e76aae751af.tar.gz
paste-1e1cd261dd9c944f595c9023c8aa3e76aae751af.tar.xz
Start on swagger docsswagger
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/build.sh b/build.sh
index 8ae273f..b4fe585 100755
--- a/build.sh
+++ b/build.sh
@@ -16,9 +16,13 @@ if ! git diff-index --quiet HEAD ; then
version="dirty: $version"
fi
-cd ui
-npm run build
-cd ..
+# cd ui
+# npm install
+# npm run build
+# cd ..
+
+go install github.com/swaggo/swag/cmd/swag@latest
+swag init
export CGO_ENABLED=0