Skip to content

Instantly share code, notes, and snippets.

@shakdwipeea
Created March 23, 2016 06:46
Show Gist options
  • Save shakdwipeea/95ecbc2a6cbcbd1bb785 to your computer and use it in GitHub Desktop.
Save shakdwipeea/95ecbc2a6cbcbd1bb785 to your computer and use it in GitHub Desktop.
running dropwizard build
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