mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
20 lines
283 B
Makefile
20 lines
283 B
Makefile
.PHONY: all api web worker native test clean
|
|
|
|
all: api native
|
|
|
|
api:
|
|
cd api && go build -o ../bin/api .
|
|
|
|
native:
|
|
mkdir -p bin && cc -O2 -o bin/hash native/hash.c
|
|
|
|
worker:
|
|
python3 worker/worker.py --once
|
|
|
|
test:
|
|
cd api && go test ./...
|
|
python3 -m pytest worker
|
|
|
|
clean:
|
|
rm -rf bin
|