CLI interface in README.md
This commit is contained in:
parent
7a2c1d448a
commit
c4f251a148
20
README.md
20
README.md
@ -1 +1,19 @@
|
||||
## Trapping simulation
|
||||
## Trapping simulation
|
||||
|
||||
## Building executable
|
||||
|
||||
1. Create a fat jar distribution:
|
||||
```
|
||||
./gradlew shadowJar
|
||||
```
|
||||
The output file is located in `build/libs/trapping-1.1.0-all.jar`
|
||||
|
||||
2. Run cross-sections computations
|
||||
```
|
||||
java -cp trapping-1.1.0-all.jar ru.inr.mass.trapping.CrosssectionsKt
|
||||
```
|
||||
|
||||
3. Run simulation:
|
||||
```
|
||||
./gradlew run
|
||||
```
|
||||
|
@ -1,12 +1,14 @@
|
||||
plugins {
|
||||
kotlin("jvm") version "1.4.10"
|
||||
application
|
||||
id("com.github.johnrengelman.shadow") version "6.1.0"
|
||||
}
|
||||
|
||||
group = "ru.inr.mass"
|
||||
version = "1.1.0"
|
||||
|
||||
description = "Numass trapping simulation"
|
||||
|
||||
application {
|
||||
mainClassName = "ru.inr.mass.trapping.MainKt"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user