Makefile 805 Bytes
Newer Older
1
2
clean:;
	mvn clean
Martin Lowe's avatar
Martin Lowe committed
3
compile-java: validate-spec generate-spec;
4
5
6
7
8
	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;
9
10
11
12
13
14
install-yarn:;
	yarn install --frozen-lockfile --audit
generate-spec: install-yarn;
	yarn run generate-json-schema
validate-spec: install-yarn;
	yarn run test
15
16
17
18
compile-start: compile-quick;
	docker-compose down
	docker-compose build
	docker-compose up
19
20
21
22
compile-start-headless: compile-quick;
	docker-compose down
	docker-compose build
	docker-compose up -d
23
start-spec: validate-spec;
24
	yarn run start
25
26
27
28
29
generate-notice-src:;
	docker run -v $(PWD)/:/project \
		-v /project/node_modules \
		-v /project/volumes \
		scancode-toolkit -clpeui --json-pp /project/result.json /project