Skip to content
This repository was archived by the owner on Feb 11, 2021. It is now read-only.

Commit 499e98f

Browse files
authored
Update README.md
1 parent 57bbca4 commit 499e98f

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,24 @@ If you want to change compile option or etc, please edit [codecheck.yml](codeche
2828
(If you change output filename, you have to change env/APP_COMMAND section too.)
2929

3030
You can build pure C application by switching compiler command from `c++` to `clang`.
31+
32+
## For local exam using GitHub
33+
To use codecheck command in your local environment, you need to modify [codecheck.yml](./codecheck.yml) in order to run test properly.
34+
35+
```yaml
36+
# Before
37+
build:
38+
- c++ -o theapp.o src/*.cpp
39+
env:
40+
APP_COMMAND: ./theapp.o
41+
test: mocha
42+
```
43+
44+
```yaml
45+
# After
46+
build:
47+
- c++ -o theapp.o "src/*.cpp"
48+
env:
49+
APP_COMMAND: ./theapp.o
50+
test: mocha
51+
```

0 commit comments

Comments
 (0)