aboutsummaryrefslogtreecommitdiff
path: root/Makefile
blob: 6ca6cae0d7d3ec02d9eb762b498cf7e280d07bee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
BINARY = weed

SOURCE_DIR = .

all: install

install:
	cd weed; go install

full_install:
	cd weed; go install -tags "elastic gocdk sqlite ydb tikv"

server: install
	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

test:
	cd weed; go test -tags "elastic gocdk sqlite ydb tikv" -v ./...