Skip to content

Commit 1c91dcc

Browse files
authored
Merge pull request #27 from riscv-software-src/dhower/manual_appendix
Make sure riscv-isa-manual submodule is checked out in flow
2 parents e826744 + bc81fe3 commit 1c91dcc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backends/manual/tasks.rake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,11 +275,11 @@ rule %r{#{MANUAL_GEN_DIR}/.*/top/.*/antora/playbook.yml} => proc { |tname|
275275
end
276276

277277
file $root / "ext" / "riscv-isa_manual" / "README.md" do
278-
sh "git submodule init ext/riscv-isa-manual"
278+
sh "git submodule update --init ext/riscv-isa-manual"
279279
end
280280

281281
Dir.glob($root / "arch" / "manual" / "**" / "contents.yaml") do |content_fn|
282-
file "#{File.dirname(content_fn)}/riscv-isa-manual/README.md" do |t|
282+
file "#{File.dirname(content_fn)}/riscv-isa-manual/README.md" => ($root / "ext" / "riscv-isa_manual" / "README.md").to_s do |t|
283283
content_obj = YAML.load_file(content_fn)
284284
cmd = [
285285
"git",

0 commit comments

Comments
 (0)