forked from synopsys-sig/synopsys-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
25 lines (19 loc) · 744 Bytes
/
Makefile
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
clean:
echo "Provide the Clean command like mvn clean/rm -rf /repo/target/*"
compile:
echo "Provide the Compile command like mvn compile"
prerequisites:
echo "Provide the Pre-requisite commands before performing the PoP analysis scan like installing some required tools, install/download some required things."
npm --version
npm config set '//registry.synopsys.npme.io/:_authToken' ${NPM_TOKEN}
npm i -g lerna
npm ci --prefer-offline --no-audit
npm run build
build: prerequisites
echo "Provide the Build command like mvn install / go build / npm "
dependencies: prerequisites
echo "Provide the Dependency command or env variables"
npm run package
image_scan:
echo "Provide the commands for BD Docker Image Scan"
.PHONY: clean