Skip to content

Commit c82857f

Browse files
kornilova203jonas
authored andcommitted
Fix typo script -> scripts
1 parent 4880857 commit c82857f

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ script:
66
- docker-compose build $TEST_ENV
77
- docker-compose run $TEST_ENV
88
- 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;
1111
fi
1212

1313
matrix:

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ Make sure that all of your contributions are properly formatted before
3737
suggesting any changes. You can check the formatting using either:
3838

3939
```sh
40-
script/scalafmt --test
41-
script/clangfmt --test
40+
scripts/scalafmt --test
41+
scripts/clangfmt --test
4242
```
4343

4444
or:
4545

4646
```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
4949
```
5050

5151
The C++ tool is built on Clang and Libtooling and should respect the conventions of

scripts/scalafmt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ if [ ! -f $SCALAFMT ]; then
1717
chmod +x $SCALAFMT
1818
fi
1919

20-
$SCALAFMT "$@"
20+
exit $($SCALAFMT "$@" >/dev/null)

tests/build.sbt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ val `scala-native-bindgen-tests` = project
1717
.aggregate(samples)
1818
.settings(
1919
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"),
2122
watchSources += WatchSource(
2223
baseDirectory.value / "samples",
2324
"*.h" || "*.scala",

0 commit comments

Comments
 (0)