Skip to content

Commit

Permalink
refactor: move entrypoint to cmd (ooni#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
ainghazal authored and bassosimone committed May 8, 2023
1 parent 7216b3e commit 06d680b
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 194 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ COVERAGE_THRESHOLD := 88
FLAGS=-ldflags="-w -s -buildid=none -linkmode=external" -buildmode=pie -buildvcs=false

build:
@go build ${FLAGS}
@go build -o ./minivpn ${FLAGS} ./cmd/minivpn/

build-rel:
@go build ${FLAGS} -o minivpn
Expand Down
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions cmd/ndt7/README.md

This file was deleted.

122 changes: 0 additions & 122 deletions cmd/ndt7/main.go

This file was deleted.

62 changes: 0 additions & 62 deletions cmd/obfs4vpn/main.go

This file was deleted.

2 changes: 2 additions & 0 deletions cmd/vpnping/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"github.com/ooni/minivpn/vpn"
)

// TODO(ainghazal): update and convert to an example

func main() {
opts, err := vpn.NewOptionsFromFilePath("data/riseup/config")
if err != nil {
Expand Down

0 comments on commit 06d680b

Please sign in to comment.