Skip to content

Commit 3bd8cff

Browse files
Add .editorconfig (#4)
1 parent 177dfcf commit 3bd8cff

File tree

2 files changed

+24
-2
lines changed

2 files changed

+24
-2
lines changed

.editorconfig

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
root = true
2+
[*.rs]
3+
indent_style=tab
4+
indent_size=tab
5+
tab_width=4
6+
end_of_line=lf
7+
charset=utf-8
8+
trim_trailing_whitespace=true
9+
max_line_length=100
10+
insert_final_newline=true
11+
12+
[*.yml]
13+
indent_style=space
14+
indent_size=2
15+
tab_width=8
16+
end_of_line=lf
17+
18+
[*.sh]
19+
indent_style=space
20+
indent_size=2
21+
tab_width=8
22+
end_of_line=lf

scripts/init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ set -e
55
echo "*** Initializing WASM build environment"
66

77
if [ -z $CI_PROJECT_NAME ] ; then
8-
rustup update nightly
9-
rustup update stable
8+
rustup update nightly
9+
rustup update stable
1010
fi
1111

1212
rustup target add wasm32-unknown-unknown --toolchain nightly

0 commit comments

Comments
 (0)