Skip to content

Commit

Permalink
Merge pull request #26 from kcl-lang/kcl-bot-patch-1
Browse files Browse the repository at this point in the history
chore: update Makefile
  • Loading branch information
kcl-bot authored Jun 27, 2023
2 parents f4c5a6d + 2abd324 commit cd12f50
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit cd12f50

Please sign in to comment.