-
Notifications
You must be signed in to change notification settings - Fork 114
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (21 loc) · 898 Bytes
/
Makefile
File metadata and controls
27 lines (21 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/make -f
#SHELL:=/bin/bash
default: help
help: # Show help for each of the Makefile recipes.
@grep -E '^[a-zA-Z0-9 -]+:.*#' Makefile | sort | while read -r l; do printf "\033[1;32m$$(echo $$l | cut -f 1 -d':')\033[00m:$$(echo $$l | cut -f 2- -d'#')\n"; done
.PHONY: all
all:
@echo "Usage: make [target]"
@exit 0
.PHONY: ci-test
ci-test: ## Run tests in CI with code coverage
@dotnet run --configuration Release --coverage --coverage-output-format cobertura --report-github
.PHONY: build-alpha-package
build-alpha-package: # builds a package with a pre-release version suffix
@dotnet pack src/BCrypt.Net/BCrypt.Net.csproj --version-suffix 5.0.0-alpha -o artifacts
.PHONY: build-package
build-package: # builds a package with the version from the project file
@dotnet pack src/BCrypt.Net/BCrypt.Net.csproj -o artifacts
.PHONY: benchmarks
benchmarks:
$(MAKE) -C src/benchmarks/