<commit_before>.PHONY: install test test-integ test-docker clean

VERSION := $(shell mvn help:evaluate -Dexpression=project.version --batch-mode | grep -e '^[^\[]')
install:
	@java -version || (echo "Java is not installed, please install Java >= 7"; exit 1);
	mvn clean install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B
	cp target/sendgrid-java-$(VERSION)-shaded.jar sendgrid-java.jar

package:
	mvn package -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B

test:
	mvn test spotbugs:spotbugs checkstyle:check -Dcheckstyle.config.location=google_checks.xml

test-integ: test

version ?= latest
test-docker:
	curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
	version=$(version) bash ./prism.sh

clean:
	mvn clean<commit_msg>chore: add jar copying to make package<commit_after>.PHONY: install test test-integ test-docker clean

VERSION := $(shell mvn help:evaluate -Dexpression=project.version --batch-mode | grep -e '^[^\[]')
install:
	@java -version || (echo "Java is not installed, please install Java >= 7"; exit 1);
	mvn clean install -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B
	cp target/sendgrid-java-$(VERSION)-shaded.jar sendgrid-java.jar

package:
	mvn package -DskipTests=true -Dgpg.skip -Dmaven.javadoc.skip=true -B
	cp target/sendgrid-java-$(VERSION)-shaded.jar sendgrid-java.jar

test:
	mvn test spotbugs:spotbugs checkstyle:check -Dcheckstyle.config.location=google_checks.xml

test-integ: test

version ?= latest
test-docker:
	curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
	version=$(version) bash ./prism.sh

clean:
	mvn clean
{'fraction_non_alphanumeric': 0.13679808841099164, 'fraction_numerical': 0.0023894862604540022, 'mean_word_length': 4.583333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2661944', 'n_tokens_mistral': 621, 'n_tokens_neox': 585, 'n_words': 142}