mirror of https://github.com/ledisdb/ledisdb.git
29 lines
475 B
Makefile
29 lines
475 B
Makefile
INSTALL_PATH ?= $(CURDIR)
|
|
|
|
$(shell ./bootstrap.sh >> /dev/null 2>&1)
|
|
|
|
$(shell ./tools/build_config.sh build_config.mk $INSTALL_PATH)
|
|
|
|
include build_config.mk
|
|
|
|
export CGO_CFLAGS
|
|
export CGO_CXXFLAGS
|
|
export CGO_LDFLAGS
|
|
export LD_LIBRARY_PATH
|
|
export DYLD_LIBRARY_PATH
|
|
export GO_BUILD_TAGS
|
|
|
|
all: build
|
|
|
|
build:
|
|
$(GO) install -tags '$(GO_BUILD_TAGS)' ./...
|
|
|
|
clean:
|
|
$(GO) clean -i ./...
|
|
|
|
test:
|
|
$(GO) test -tags '$(GO_BUILD_TAGS)' ./...
|
|
|
|
pytest:
|
|
sh client/ledis-py/tests/all.sh
|