2024-08-10 18:21:13 -04:00
|
|
|
all: checkcalls
|
2024-07-14 13:47:48 -04:00
|
|
|
go build -o gordio ./cmd/gordio/
|
2024-08-04 00:55:28 -04:00
|
|
|
go build -o calls ./cmd/calls/
|
2024-07-14 17:39:03 -04:00
|
|
|
|
2024-08-10 10:42:22 -04:00
|
|
|
clean:
|
|
|
|
rm -rf client/calls/ && mkdir client/calls && touch client/calls/.gitkeep
|
|
|
|
rm -f gordio calls
|
|
|
|
|
2024-08-10 18:21:13 -04:00
|
|
|
checkcalls:
|
2024-08-10 18:25:54 -04:00
|
|
|
@test -e client/calls/index.html || make getcalls
|
2024-08-10 18:21:13 -04:00
|
|
|
|
2024-08-10 10:42:22 -04:00
|
|
|
getcalls:
|
|
|
|
rm -rf client/calls/*
|
|
|
|
cd client/calls/ && curl -OL https://nightly.link/amigan/calls/workflows/build-web/trunk/webBuild.zip && unzip -o webBuild.zip && rm webBuild.zip
|
|
|
|
|
2024-07-14 17:39:03 -04:00
|
|
|
generate:
|
|
|
|
sqlc generate -f sql/sqlc.yaml
|
2024-07-31 09:24:05 -04:00
|
|
|
protoc -I=pkg/pb/ --go_out=pkg/ pkg/pb/stillbox.proto
|
2024-08-08 22:01:03 -04:00
|
|
|
|