Skip to content

Commit 5c96cf6

Browse files
author
Derek Hower
committed
Move some commands in deploy.sh
1 parent 277ed2c commit 5c96cf6

File tree

1 file changed

+15
-13
lines changed

1 file changed

+15
-13
lines changed

lib/deploy.sh

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,32 @@ PAGES_URL="https://riscv-software-src.github.io/riscv-unified-db"
99

1010
mkdir -p $DEPLOY_DIR
1111

12+
echo "Create _site/example_cfg"
13+
mkdir -p $DEPLOY_DIR/example_cfg
14+
15+
echo "Create _site/manual"
16+
mkdir -p $DEPLOY_DIR/manual
17+
18+
echo "Create _site/pdfs"
19+
mkdir -p $DEPLOY_DIR/pdfs
20+
21+
22+
1223
echo "Resolve / Create Index"
1324
./do gen:resolved_arch
1425

1526
echo "Build manual"
1627
./do gen:html_manual MANUAL_NAME=isa VERSIONS=all
1728

29+
echo "Copy manual html"
30+
cp -R gen/manual/isa/top/all/html $DEPLOY_DIR/manual
31+
1832
echo "Build html documentation for generic_rv64"
1933
./do gen:html[generic_rv64]
2034

2135
echo "Generate YARD docs"
2236
./do gen:tool_doc
2337

24-
echo "Create _site/example_cfg"
25-
mkdir -p $DEPLOY_DIR/example_cfg
26-
27-
echo "Create _site/manual"
28-
mkdir -p $DEPLOY_DIR/manual
29-
30-
echo "Create _site/pdfs"
31-
mkdir -p $DEPLOY_DIR/pdfs
32-
3338
echo "Create _site/htmls"
3439
mkdir mkdir -p $DEPLOY_DIR/htmls
3540

@@ -61,7 +66,7 @@ echo "Copy MC100-32 PDF"
6166
cp gen/certificate_doc/pdf/MC100-32.pdf $DEPLOY_DIR/pdfs/MC100-32.pdf
6267

6368
echo "Create MC100-32 HTML Spec"
64-
cp ./do gen:cert_model_html[MC100-32]
69+
./do gen:cert_model_html[MC100-32]
6570

6671
echo "Copy MC100-32 HTML"
6772
cp gen/certificate_doc/html/MC100-32.html $DEPLOY_DIR/htmls/MC100-32.html
@@ -78,9 +83,6 @@ echo "Create MC100-64 HTML Spec"
7883
echo "Copy MC100-64 HTML"
7984
cp gen/certificate_doc/html/MC100-64.html $DEPLOY_DIR/htmls/MC100-64.html
8085

81-
echo "Copy manual html"
82-
cp -R gen/manual/isa/top/all/html $DEPLOY_DIR/manual
83-
8486
echo "Create index"
8587
cat <<- EOF > $DEPLOY_DIR/index.html
8688
<!doctype html>

0 commit comments

Comments
 (0)