Skip to content

Commit 381be94

Browse files
committed
Update scripts in readme
1 parent ed33d37 commit 381be94

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,13 @@ Implementation and usage of graphs.
101101

102102
## Usage
103103

104-
Each algorithm and data structure has its own folder. Navigate to the folder of the algorithm or data structure you want to use and compile the Java file:
104+
Run code:
105105
```sh
106-
javac FileName.java
106+
mvn clean compile exec:java
107107
```
108-
Run the compiled Java file:
108+
Run test:
109109
```sh
110-
java FileName
110+
mvn test
111111
```
112112

113113
## Contributing

pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
<maven.compiler.source>23</maven.compiler.source>
1313
<maven.compiler.target>23</maven.compiler.target>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15+
<exec.mainClass>org.alda.Main</exec.mainClass>
1516
</properties>
1617

1718
</project>

0 commit comments

Comments
 (0)