- First RPC steps - Work on some flaws in RPC model - Remove unused TLS settings from Engine and Swarm options - Add code to correctly encode data over the network - Add client driver for RPC - Rename server driver file - Start to make marshal make sense - Fix silly RPC method args and add client - Fix some issues with RPC calls, and marshaling - Simplify plugin main.go - Move towards 100% plugin in CLI - Ensure that plugin servers are cleaned up properly - Make flag parsing for driver flags work properly Includes some work carried from @dmp42 updating the build process and tests to use the new method. Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
36 lines
1.0 KiB
Makefile
36 lines
1.0 KiB
Makefile
# Project name, used to name the binaries
|
||
PKG_NAME := docker-machine
|
||
# Github infos
|
||
GITHUB_INFO := $(shell git config --get remote.origin.url | sed -e 's/.*:\(.*\).git/\1/')
|
||
GH_USER ?= $(shell echo $(GITHUB_INFO) | cut -d \/ -f 1)
|
||
GH_REPO ?= $(shell echo $(GITHUB_INFO) | cut -d \/ -f 2)
|
||
|
||
# If true, disable optimizations and does NOT strip the binary
|
||
DEBUG ?=
|
||
# If true, "build" will produce a static binary (cross compile always produce static build regardless)
|
||
STATIC ?=
|
||
# If true, turn on verbose output for build
|
||
VERBOSE ?=
|
||
# Build tags
|
||
BUILDTAGS ?=
|
||
# Adjust number of parallel builds (XXX not used)
|
||
PARALLEL ?= -1
|
||
# Coverage default directory
|
||
COVERAGE_DIR ?= cover
|
||
# Whether to perform targets inside a docker container, or natively on the host
|
||
USE_CONTAINER ?=
|
||
|
||
# List of cross compilation targets
|
||
ifeq ($(TARGET_OS),)
|
||
TARGET_OS := darwin linux windows
|
||
endif
|
||
|
||
ifeq ($(TARGET_ARCH),)
|
||
TARGET_ARCH := amd64 386
|
||
endif
|
||
|
||
# Output prefix, defaults to local directory if not specified
|
||
ifeq ($(PREFIX),)
|
||
PREFIX := $(shell pwd)
|
||
endif
|