diff options
author | 2019-08-02 15:07:53 +0200 | |
---|---|---|
committer | 2019-08-02 15:07:53 +0200 | |
commit | ca6003af1a7e1adb7d45879c2d5038bc05c2bb1a (patch) | |
tree | 97a3620b0fc5c7a0ee032fe7d12d37b6303cfb01 /extras/Makefile | |
parent | 639870b5083a1e66f4584ec7a5f30492fcdb7168 (diff) |
Migrate to modules, refactor Makefile and use Travis for CI
- migrate to Go modules and remove vendor
- refactor Makefile
- add version package and store version
- split extras from the rest
- use travis for CI
Change-Id: I81b35220653b0f7c9a0fcdd4c527d691ec1e96c1
Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'extras/Makefile')
-rw-r--r-- | extras/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/extras/Makefile b/extras/Makefile new file mode 100644 index 0000000..eae5627 --- /dev/null +++ b/extras/Makefile @@ -0,0 +1,17 @@ +GO ?= GO111MODULE=on go + +build: extras + +extras: + @echo "=> building extras" + cd libmemif/examples/gopacket && $(GO) build -v + cd libmemif/examples/icmp-responder && $(GO) build -v + cd libmemif/examples/jumbo-frames && $(GO) build -v + cd libmemif/examples/raw-data && $(GO) build -v + +clean: + @echo "=> cleaning extras" + go clean -v ./... + + +.PHONY: build extras clean
\ No newline at end of file |