Skip to content

Commit

Permalink
Try not to use . in path name on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Oct 6, 2024
1 parent b865fa9 commit 5501f39
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Cache tla2tools.jar
uses: actions/cache@v4
with:
path: tla/.tla
path: tla/bin
key: ${{ runner.os }}-tla
- name: check
run: |
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ lean4/.ipynb_checkpoints
*.ipynb
.lsp_symlink
lean4/.lake/
tla/.tla/
tla/bin/
tla/*.old
tla/*.cfg
aya/dist/*
7 changes: 4 additions & 3 deletions tla/justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
# brew install just

set windows-shell := ["pwsh.exe", "-c"]
tla2tools := join(justfile_directory(), ".tla", "tla2tools.jar")
tlaprefix := join(justfile_directory(), "bin")
tla2tools := join(tlaprefix, "tla2tools.jar")

default:
just --list
Expand All @@ -23,8 +24,8 @@ check SOURCE: (trans SOURCE)
prep-tla:
#!/usr/bin/env bash
set -e
mkdir -p {{justfile_directory()}}/.tla
cd {{justfile_directory()}}/.tla
mkdir -p {{tlaprefix}}
cd {{tlaprefix}}
if [ ! -f tla2tools.jar ]; then
curl -L -o tla2tools.jar https://github.com/tlaplus/tlaplus/releases/download/v1.8.0/tla2tools.jar
fi
Expand Down

0 comments on commit 5501f39

Please sign in to comment.