Команды сборки и запуска в ридми
This commit is contained in:
16
README.md
Normal file
16
README.md
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
## Build and usage
|
||||||
|
|
||||||
|
```sh
|
||||||
|
mvn clean package
|
||||||
|
|
||||||
|
# Можно явно указать директорию (по умолчанию .)
|
||||||
|
java -jar target/lab1-1.0-SNAPSHOT.jar path/to/directory
|
||||||
|
```
|
||||||
|
|
||||||
|
## Build and usage (alternative)
|
||||||
|
|
||||||
|
```sh
|
||||||
|
mvn compile
|
||||||
|
mvn exec:java "-Dexec.mainClass=ru.spbstu.telematics.java.App" "-Dexec.args=path/to/directory"
|
||||||
|
```
|
||||||
|
|
||||||
Reference in New Issue
Block a user