Skip to content

Commit 205ec8b

Browse files
authored
doc: fix wrong directory path (#116)
1 parent fdf64f4 commit 205ec8b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -670,11 +670,11 @@ For cgroup v2, systemd dbus will be used to create a transient scope for cgroup
670670

671671
Build container init `cinit`:
672672

673-
`go build -o cinit ./cmd/cinit`
673+
`go build -o cinit ./cmd/go-judge-init`
674674

675675
Build `go_judge.so`:
676676

677-
`go build -buildmode=c-shared -o go_judge.so ./cmd/ffi/`
677+
`go build -buildmode=c-shared -o go_judge.so ./cmd/go-judge-ffi/`
678678

679679
For example, in JavaScript, run with `ffi-napi` (seems node 14 is not supported yet):
680680

@@ -732,7 +732,7 @@ If a bind mount is specifying a target within the previous mounted one, please e
732732
### Windows Support
733733

734734
- Build `go-judge` by: `go build ./cmd/go-judge/`
735-
- Build `go_judge.dll`: (need to install `gcc` as well) `go build -buildmode=c-shared -o go_judge.so ./cmd/ffi/`
735+
- Build `go_judge.dll`: (need to install `gcc` as well) `go build -buildmode=c-shared -o go_judge.so ./cmd/go-judge-ffi/`
736736
- Run: `./go-judge`
737737

738738
#### Windows Security
@@ -744,7 +744,7 @@ If a bind mount is specifying a target within the previous mounted one, please e
744744
### MacOS Support
745745

746746
- Build `go-judge` by: `go build ./cmd/go-judge/`
747-
- Build `go_judge.dylib`: (need to install `XCode`) `go build -buildmode=c-shared -o go_judge.dylib ./cmd/ffi/`
747+
- Build `go_judge.dylib`: (need to install `XCode`) `go build -buildmode=c-shared -o go_judge.dylib ./cmd/go-judge-ffi/`
748748
- Run: `./go-judge`
749749

750750
#### MacOS Security

0 commit comments

Comments
 (0)