#!/bin/bash

#echo "mvn package..."
#mvn package &> /dev/null \
#	&& echo "mvn package SUCCESS" \
#	|| echo "mvn package FAILED"

echo "generate-completion..."
source <(java -jar target/flexifusion-tools-1.0-SNAPSHOT-jar-with-dependencies.jar generate-completion) \
	&& echo "generate-completion SUCCESS" \
	|| echo "generate-completion FAILED"

echo "set alias prefusion-tool"
alias prefusion-tool="java -jar $(pwd)/target/flexifusion-tools-1.0-SNAPSHOT-jar-with-dependencies.jar"
