forked from risor-io/risor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (22 loc) · 645 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
.PHONY: bench
bench:
go build
./tamarin -profile cpu.out ./benchmark/main.mon
go tool pprof -http=:8080 ./cpu.out
# https://code.visualstudio.com/api/working-with-extensions/publishing-extension#packaging-extensions
.PHONY: install-tools
install-tools:
npm install -g vsce
.PHONY: extension-login
extension-login:
cd vscode && vsce login CurtisMyzie
.PHONY: extension
extension:
cd vscode && vsce package && vsce publish
.PHONY: postgres
postgres:
docker run --name some-postgres -p 5432:5432 -e POSTGRES_PASSWORD=mysecretpassword -d postgres
.PHONY: test
test:
go test -coverprofile cover.out ./...
go tool cover -html=cover.out