@@ -12,25 +12,25 @@ This repo uses [Go 1.24 or higher](https://go.dev/dl/), [Node.js with npm](https
12
12
For tests and code generation, this repo contains a git submodule to the main TypeScript repo pointing to the commit being ported.
13
13
When cloning, you'll want to clone with submodules:
14
14
15
- ``` console
16
- $ git clone --recurse-submodules https://github.com/microsoft/typescript-go.git
15
+ ``` sh
16
+ git clone --recurse-submodules https://github.com/microsoft/typescript-go.git
17
17
```
18
18
19
19
If you have already cloned the repo, you can initialize the submodule with:
20
20
21
- ``` console
22
- $ git submodule update --init --recursive
21
+ ``` sh
22
+ git submodule update --init --recursive
23
23
```
24
24
25
25
With the submodule in place and ` npm ci ` , you can run tasks via ` hereby ` , similar to the TypeScript repo:
26
26
27
- ``` console
28
- $ hereby build # Verify that the project builds
29
- $ hereby test # Run all tests
30
- $ hereby install-tools # Install additional tools such as linters
31
- $ hereby lint # Run all linters
32
- $ hereby format # Format all code
33
- $ hereby generate # Generate all Go code (e.g. diagnostics, committed to repo)
27
+ ``` sh
28
+ hereby build # Verify that the project builds
29
+ hereby test # Run all tests
30
+ hereby install-tools # Install additional tools such as linters
31
+ hereby lint # Run all linters
32
+ hereby format # Format all code
33
+ hereby generate # Generate all Go code (e.g. diagnostics, committed to repo)
34
34
```
35
35
36
36
Additional tasks are a work in progress.
0 commit comments