Skip to content

Commit

Permalink
Make the Windows script a Xonsh script
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Jul 10, 2022
1 parent 0218073 commit 4387dc4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions build0.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@

xonsh ./build0_win.sh
xonsh ./build0_win.xsh
7 changes: 5 additions & 2 deletions build0_win.sh → build0_win.xsh
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
#!/usr/bin/env xonsh

#bash ci/version.sh
version=$(git describe --tags --dirty).strip()[1:]
echo @(version) > version

bash ci/version.sh
python grammar/asdl_cpp.py
python grammar/asdl_cpp.py src/libasr/ASR.asdl src/libasr/asr.h
pushd src/lfortran/parser && re2c -W -b tokenizer.re -o tokenizer.cpp && popd
Expand Down

0 comments on commit 4387dc4

Please sign in to comment.