Команды сборки и запуска в ридми

This commit is contained in:
2024-11-10 19:14:37 +03:00
parent a3ba8f74c3
commit 51e44f6444

16
README.md Normal file
View 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"
```