New posts

This commit is contained in:
2026-11-06 21:44:06 +05:30
parent dc13293046
commit 8da3374155
51 changed files with 2099 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/usr/bin/env bash
# Starts the stub upstream on a fixed port so you can poke it with curl:
# ./scripts/run-stub.sh 18601 & then curl -i http://127.0.0.1:18601/posts/99
set -euo pipefail
cd "$(dirname "$0")/.."
mvn -B -q -DskipTests compile
mvn -B -q dependency:build-classpath -Dmdep.outputFile=target/cp.txt
exec java -cp "target/classes:$(cat target/cp.txt)" com.ankurm.hsc.stub.StubServer "${1:-18601}"