Created
March 23, 2016 06:46
-
-
Save shakdwipeea/95ecbc2a6cbcbd1bb785 to your computer and use it in GitHub Desktop.
running dropwizard build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BASE_DIR = $(shell pwd) | |
JAVA_BIN = $(shell dirname $(shell which java)) | |
$(if $(JAVA_BIN),,$(warning "Warning: No Java found in your path, this will probably not work")) | |
.PHONY: all | |
all: clean package start | |
clean: | |
mvn clean | |
compile: | |
mvn compile | |
package: | |
mvn package | |
install: | |
mvn clean install | |
start: | |
java -jar target/your-0.0.1-SNAPSHOT.jar server target/classes/config.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment