aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorSam Scholten2026-06-14 20:00:15 +1000
committerSam Scholten2026-06-14 20:00:15 +1000
commitdecc46c876e7b5552f5f5ecac4ee4f1a64ad1d62 (patch)
tree46875e236a062189115c0cd8ed8f1d82980c16b7 /justfile
downloadabvjt-decc46c876e7b5552f5f5ecac4ee4f1a64ad1d62.tar.gz
abvjt-decc46c876e7b5552f5f5ecac4ee4f1a64ad1d62.zip
Initial implementation: scrape, serve, UI, container, deploymentHEADmain
Diffstat (limited to 'justfile')
-rw-r--r--justfile41
1 files changed, 41 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..74bf926
--- /dev/null
+++ b/justfile
@@ -0,0 +1,41 @@
+# abvjt — Journal Abbreviation Lookup Service
+#
+# USAGE:
+# just build # Build the binary
+# just scrape # Build and scrape WOS data into SQLite
+# just serve # Build and start the server
+# just dev # Build, scrape, and serve
+# just clean # Clean build artifacts and database
+
+default:
+ @echo "abvjt — Journal Abbreviation Lookup"
+ @echo ""
+ @echo " just build # Build the binary"
+ @echo " just scrape # Build + scrape WOS data"
+ @echo " just serve # Build + start server"
+ @echo " just dev # Build + scrape + serve"
+ @echo " just clean # Clean artifacts"
+ @just --list
+
+# Build the Go binary
+build:
+ go build -o abvjt .
+
+# Build and scrape WOS data into data/abvjt.db
+scrape: build
+ ./abvjt scrape
+
+# Build and start the server
+serve: build
+ ./abvjt serve
+
+# Full development cycle: build, scrape, serve
+dev: build
+ ./abvjt scrape
+ ./abvjt serve
+
+# Clean artifacts
+clean:
+ go clean
+ rm -f abvjt
+ rm -f data/abvjt.db