52 lines
934 B
Markdown
52 lines
934 B
Markdown
# Graph & Algorithm project — INSA Toulouse
|
|
|
|
## Building
|
|
|
|
The instructions below are an attempt at using java from the command line.
|
|
These efforts were in vain (~3 man-hours + help from 2 teachers). The
|
|
"solution" was to use [VScode][vscode]. The instructions are left below for
|
|
posterity.
|
|
|
|
[vscode]: https://code.visualstudio.com/docs/setup/linux
|
|
|
|
### Prerequisites
|
|
|
|
This project makes use of [Maven][maven]. On a debian-like system, install Maven :
|
|
|
|
```
|
|
sudo apt-get install maven
|
|
```
|
|
|
|
[maven]: https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html
|
|
|
|
### Compiling
|
|
|
|
In the project root directory :
|
|
|
|
```
|
|
mvn compile
|
|
```
|
|
|
|
### Packaging
|
|
|
|
In the project root directory :
|
|
|
|
```
|
|
mvn package
|
|
```
|
|
|
|
Or skip tests :
|
|
|
|
```
|
|
mvn package -Dmaven.test.skip=true
|
|
```
|
|
|
|
The output jar files will be in the `<project>/target/` directory of each project.
|
|
|
|
### Testing
|
|
|
|
In the root directory, start all tests :
|
|
|
|
```
|
|
mvn test
|
|
```
|