@@ -5,9 +5,9 @@ Follow these steps to setup and test the project:
551 . ** Clone the Repository**
66 Clone this repository to your local machine:
77
8- ``` bash
9- git clone < https://github.com/DistCompiler/forja.git>
10- ```
8+ ``` bash
9+ git clone < https://github.com/DistCompiler/forja.git>
10+ ```
1111
12122 . ** Install Scala CLI:**
1313 Install Scala CLI using the using this [ link] ( https://scala-cli.virtuslab.org/install/ )
@@ -17,19 +17,33 @@ git clone <https://github.com/DistCompiler/forja.git>
17174 . ** Verify Installation:**
1818 After installation, close and reopen your terminal, then verify Scala CLI is installed by running:
1919
20- ``` bash
21- scala-cli version
22- ```
20+ ``` bash
21+ scala-cli version
22+ ```
2323
24245 . ** Run Tests:**
2525 After veryifying installation, build and run the tests using:
2626
27- ``` bash
28- scala-cli test .
29- ```
27+ ``` bash
28+ scala-cli test .
29+ ```
3030
31- 6 . ** Debugging:**
32- Use the debug adapter for troubleshooting and debugging. Refer to the documentation for setup and usage instructions.
31+ 6 . ** Source formatting:**
32+ When contributing, make sure you've formatted your code.
33+ This is checked by CI.
34+
35+ I recommend committing your work, then running the formatters to see the formatting diff.
36+ You can then commit with ` --amend ` to replace your commit if you're happy with what the formatters did.
37+
38+ Run all the formatting scripts with:
39+ ``` bash
40+ scala-cli run . --main-class scripts.rewrite_src_sc
41+ ```
42+
43+ As a convenience, you can also use ` ./rewrite_src.sh ` , which is a one line shell script that launches the above command.
44+
45+ 7 . ** Debugging:**
46+ You can try to use the debug adapter for troubleshooting and debugging. Refer to the documentation for setup and usage instructions.
3347
3448# Forja Compiler Toolkit
3549
0 commit comments