This repository has been archived by the owner on May 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from brave/tun-tap
Provide a TAP device to enclave application
- Loading branch information
Showing
26 changed files
with
2,080 additions
and
382 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cmd/nitriding |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,18 @@ | ||
.PHONY: all test lint | ||
.PHONY: all test lint clean | ||
|
||
godeps = *.go go.mod go.sum | ||
binary = cmd/nitriding | ||
godeps = *.go go.mod go.sum cmd/*.go | ||
|
||
all: test lint | ||
all: test lint $(binary) | ||
|
||
lint: | ||
golangci-lint run | ||
|
||
test: $(godeps) | ||
@go test -cover ./... | ||
|
||
$(binary): $(godeps) | ||
make -C cmd/ | ||
|
||
clean: | ||
make -C cmd/ clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.PHONY: all lint clean | ||
|
||
binary = nitriding | ||
godeps = *.go ../*.go ../go.mod ../go.sum | ||
|
||
all: lint $(binary) | ||
|
||
lint: | ||
golangci-lint run | ||
|
||
$(binary): $(godeps) | ||
go build -o $(binary) | ||
|
||
clean: | ||
rm -f $(binary) |
Oops, something went wrong.