From 2abd3247ff2d76a7b524e2629ff8f33218f695f1 Mon Sep 17 00:00:00 2001 From: kcl-lang-bot <122029800+kcl-bot@users.noreply.github.com> Date: Tue, 27 Jun 2023 23:18:49 +0800 Subject: [PATCH] Update Makefile --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 55f4b89..9de07d7 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ run: fmt: go fmt ./... +test: + go test ./... + api: curl http://localhost:2023/-/play/compile -X POST --data '{"body":"a=5 + 5"}' -H "content-type:application/json" curl http://localhost:2023/-/play/fmt?body="a=1" -X POST -H "content-type:application/json"