Makefile 695 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clean:;
	mvn clean
compile-java: validate-spec;
	mvn compile package
compile-java-quick: validate-spec;
	mvn compile package -Dmaven.test.skip=true
compile: clean compile-java;
compile-quick: clean compile-java-quick;
install-npm:;
	npm ci
validate-spec: install-npm;
	npm run test
compile-start: compile-quick;
	docker-compose down
	docker-compose build
	docker-compose up
17
18
19
20
compile-start-headless: compile-quick;
	docker-compose down
	docker-compose build
	docker-compose up -d
21
start-spec: validate-spec;
22
23
24
25
26
27
	npm run start
generate-notice-src:;
	docker run -v $(PWD)/:/project \
		-v /project/node_modules \
		-v /project/volumes \
		scancode-toolkit -clpeui --json-pp /project/result.json /project