Skip to content

Commit

Permalink
www: Setup paths to single source benchmarks.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Feb 28, 2024
1 parent c4d0382 commit fd8d223
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion www/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ nav:
- REPL: Tools/vast-repl.md
- Related Projects: Projects/related.md
- Benchmarks:
- LLVM Single Source: Benchmarks/results.md
- LLVM Single Source: Benchmarks/single-source-results.md
- About:
- 'License': 'statement.md'

Expand Down
8 changes: 7 additions & 1 deletion www/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ if [ ! -d "$dst" ]; then
mkdir -p "$dst"
fi


# Setup hand-written docs
cp -rv $(pwd)/docs $dst
cp -rv $(pwd)/LICENSE $dst/docs
Expand All @@ -41,7 +42,12 @@ cp -rv $(pwd)/CONTRIBUTING.md $dst/docs
cp -rv $build/docs $dst/docs/dialects

# Setup benchmark results
cp -rv $(pwd)/results.md $dst/docs/benchmarks
if [ ! -d "$dst/docs/Benchmarks" ]; then
echo "Creating benchmarks directory: $dst/docs/Benchmarks"
mkdir -p "$dst/docs/Benchmarks"
fi

cp -rv $(pwd)/llvm-test-suite-results/single-source-results.md $dst/docs/Benchmarks/

# Setup site assets
cp -rv $(pwd)/www/assets $dst
Expand Down

0 comments on commit fd8d223

Please sign in to comment.