Skip to content

Commit

Permalink
Fix shared annotation issues [annotate]
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 23, 2024
1 parent bd3510c commit fa7c66b
Show file tree
Hide file tree
Showing 12 changed files with 1,663 additions and 16 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/lean4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,13 @@ jobs:
steps.annotate.outputs.annotate == 'true'
run: |
cd lean4
./install_deps.sh
./annotate_all.sh
just annotate Playground
cd lean4-duper-xp
just annotate DuperXp
# lake env leanInk analyze examples/Help.lean
cd ..
just pages lean4
just pages lean4-duper-xp
# - name: Try mk_all
# shell: bash
# run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ lean4/.ipynb_checkpoints
tla/bin/
tla/*.old
tla/*.cfg
aya/dist/
**/dist/
tla/*.aux
tla/*.dvi
tla/*.log
Expand Down
11 changes: 9 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,19 @@ default:
@check-pages:
#!/usr/bin/env bash
missing_dirs=()
for dir in aya lean4; do
for dir in aya lean4 tla; do
if [ ! -d "github-pages/$dir" ]; then
missing_dirs+=("$dir")
fi
done
if [ ${#missing_dirs[@]} -ne 0 ]; then
echo "Missing directories: ${missing_dirs[*]}"
exit 1
fi
fi
[no-cd]
@annotate LIB_DIR:
#!/usr/bin/env bash
../lean4-xp-kit/install_deps.sh
../lean4-xp-kit/annotate_all.sh {{LIB_DIR}}
Loading

0 comments on commit fa7c66b

Please sign in to comment.