gxthrj commented on a change in pull request #729:
URL: https://github.com/apache/apisix-dashboard/pull/729#discussion_r519867342
##########
File path: Makefile
##########
@@ -46,8 +78,13 @@ golang-lint: ## Run the golangci-lint application (install
if not found)
@echo "running golangci-lint..."
@cd api && golangci-lint run --tests=false ./...
-### api-test: Run the tests of manager-api
-.PHONY: api-test
-api-test:
- cd api/ && APISIX_API_WORKDIR=$$PWD go test -v -race -cover
-coverprofile=coverage.txt -covermode=atomic ./...
+
+### license-check: Check apisix-dashboard source codes for Apache License
+.PHONY: license-check
+license-check:
+ifeq ("$(wildcard .actions/openwhisk-utilities/scancode/scanCode.py)", "")
+ git clone https://github.com/apache/openwhisk-utilities.git
.actions/openwhisk-utilities
Review comment:
No need to delete, which is why there is an "ifeq" judgment here.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]