Browse Source

WIP

test_xxx
Henry Case 6 years ago
parent
commit
39ead4ce25
1 changed files with 12 additions and 0 deletions
  1. +12
    -0
      Makefile

+ 12
- 0
Makefile View File

@@ -58,6 +58,7 @@ cover-%: prep_targets
cat coverage_$*.txt >> coverage.txt
rm coverage_$*.txt

# This is a target used when vendoring to standard library
vendor: clean
mkdir -p $(VENDOR_DIR)/github_com/cloudflare/sidh/
rsync -a . $(VENDOR_DIR)/github_com/cloudflare/sidh/ \
@@ -71,6 +72,17 @@ vendor: clean
# try to access external libraries.
find $(VENDOR_DIR) -type f -iname "*.go" -print0 | xargs -0 sed -i 's/github\.com/github_com/g'

# Target used when vendoring a package
vendor-package: clean
mkdir -p $(VENDOR_DIR)/github.com/cloudflare/sidh/
rsync -a . $(VENDOR_DIR)/github.com/cloudflare/sidh/ \
--exclude=$(VENDOR_DIR) \
--exclude=.git \
--exclude=.travis.yml \
--exclude=README.md \
--exclude=Makefile \
--exclude=build

bench: $(addprefix bench-, $(TARGETS))
cover: $(addprefix cover-, $(TARGETS))
install: $(addprefix install-, $(TARGETS))


Loading…
Cancel
Save