Compilation

Sergio edited this page Dec 5, 2017 · 5 revisions

Compilation steps using Maven

Follow current steps to compile Droidefense

To successfully compilate latest version of Droidefense, please follow next guidelines:

  1. Clone remote repository
git clone git@github.com:droidefense/engine.git

or if you have ssh banned on your network, use HTTPS instead as follows:

git clone https://github.com/droidefense/engine
git clone git@github.com:droidefense/engine.git
  1. Execute build.sh script
cd engine
./build.sh

Building script

In case you are wondering what the hell the script doing, please check it out:

#!/bin/bash

function prerequirements(){
	echo " ########################################## "
	echo ' Installing prerequisites...'
	echo " ########################################## "

	sudo apt install -y maven
}

function main(){

	echo " ########################################## "
	echo ' Building droidefense from current version'
	echo " ########################################## "

	mvn clean install

	echo " Building done "
}

set -e
prerequirements
main
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.