File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6
6
- docker-compose build $TEST_ENV
7
7
- docker-compose run $TEST_ENV
8
8
- if [[ "$TEST_ENV" = *llvm-5.0 ]]; then
9
- docker-compose run --rm $TEST_ENV script /scalafmt --test;
10
- docker-compose run --rm $TEST_ENV script /clangfmt --test;
9
+ docker-compose run --rm $TEST_ENV scripts /scalafmt --test;
10
+ docker-compose run --rm $TEST_ENV scripts /clangfmt --test;
11
11
fi
12
12
13
13
matrix :
Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ Make sure that all of your contributions are properly formatted before
37
37
suggesting any changes. You can check the formatting using either:
38
38
39
39
``` sh
40
- script /scalafmt --test
41
- script /clangfmt --test
40
+ scripts /scalafmt --test
41
+ scripts /clangfmt --test
42
42
```
43
43
44
44
or:
45
45
46
46
``` sh
47
- docker-compose run --rm ubuntu-18.04-llvm-6.0 script /scalafmt --test
48
- docker-compose run --rm ubuntu-18.04-llvm-6.0 script /clangfmt --test
47
+ docker-compose run --rm ubuntu-18.04-llvm-6.0 scripts /scalafmt --test
48
+ docker-compose run --rm ubuntu-18.04-llvm-6.0 scripts /clangfmt --test
49
49
```
50
50
51
51
The C++ tool is built on Clang and Libtooling and should respect the conventions of
Original file line number Diff line number Diff line change @@ -17,4 +17,4 @@ if [ ! -f $SCALAFMT ]; then
17
17
chmod +x $SCALAFMT
18
18
fi
19
19
20
- $ SCALAFMT " $@ "
20
+ exit $( $ SCALAFMT " $@ " > /dev/null )
Original file line number Diff line number Diff line change @@ -17,7 +17,8 @@ val `scala-native-bindgen-tests` = project
17
17
.aggregate(samples)
18
18
.settings(
19
19
fork in Test := true ,
20
- javaOptions in Test += " -Dbindgen.path=" + file(" ../target/scala-native-bindgen" ),
20
+ javaOptions in Test += " -Dbindgen.path=" + file(
21
+ " ../target/scala-native-bindgen" ),
21
22
watchSources += WatchSource (
22
23
baseDirectory.value / " samples" ,
23
24
" *.h" || " *.scala" ,
You can’t perform that action at this time.
0 commit comments