File tree Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Expand file tree Collapse file tree 3 files changed +1
-22
lines changed Original file line number Diff line number Diff line change 23
23
runs-on : ubuntu-latest
24
24
steps :
25
25
- uses : actions/checkout@v3
26
- with :
27
- submodules : true
28
26
- id : install
29
27
run : |
30
28
rustup override set stable
@@ -143,8 +141,6 @@ jobs:
143
141
144
142
steps :
145
143
- uses : actions/checkout@v3
146
- with :
147
- submodules : true
148
144
- id : install
149
145
run : |
150
146
rustup override set stable
Original file line number Diff line number Diff line change 8
8
runs-on : ubuntu-latest
9
9
steps :
10
10
- uses : actions/checkout@v3
11
- with :
12
- submodules : true
13
11
14
12
- name : Build the Docker image
15
13
run : docker build -t docs-rs -f dockerfiles/Dockerfile .
Original file line number Diff line number Diff line change @@ -79,12 +79,7 @@ fn main() -> Result<()> {
79
79
write_git_version ( out_dir) ?;
80
80
compile_sass ( out_dir) ?;
81
81
write_known_targets ( out_dir) ?;
82
- compile_syntax ( out_dir) . context (
83
- "\
84
- could not compile syntax files\n \n \
85
- Note: you may need to run `git submodule update --init`\
86
- ",
87
- ) ?;
82
+ compile_syntax ( out_dir) . context ( "could not compile syntax files" ) ?;
88
83
Ok ( ( ) )
89
84
}
90
85
@@ -191,16 +186,6 @@ fn compile_syntax(out_dir: &Path) -> Result<()> {
191
186
parsing:: { SyntaxDefinition , SyntaxSetBuilder } ,
192
187
} ;
193
188
194
- if std:: fs:: metadata ( "assets/syntaxes" ) . is_err ( ) {
195
- let status = std:: process:: Command :: new ( "git" )
196
- . args ( [ "submodule" , "update" , "--init" ] )
197
- . status ( )
198
- . context ( "attempting to initialize submodules" ) ?;
199
- if !status. success ( ) {
200
- return Err ( anyhow:: anyhow!( "initializing submodules failed" ) ) ;
201
- }
202
- }
203
-
204
189
fn tracked_add_from_folder (
205
190
builder : & mut SyntaxSetBuilder ,
206
191
path : impl AsRef < Path > ,
You can’t perform that action at this time.
0 commit comments