Makefile 450 B

1234567891011121314151617
  1. BINARY = weed
  2. SOURCE_DIR = .
  3. all: install
  4. install:
  5. cd weed; go install
  6. full_install:
  7. cd weed; go install -tags "elastic gocdk sqlite ydb tikv"
  8. server: install
  9. weed -v 4 server -s3 -filer -volume.max=0 -master.volumeSizeLimitMB=1024 -volume.preStopSeconds=1 -s3.port=8000 -s3.allowEmptyFolder=false -s3.allowDeleteBucketNotEmpty=false -s3.config=./docker/compose/s3.json
  10. test:
  11. cd weed; go test -tags "elastic gocdk sqlite ydb tikv" -v ./...