-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* convert tasks.py to justfile * install just in pipelines * remove virtualenv traces * move just install
- Loading branch information
1 parent
3e10083
commit 754060f
Showing
10 changed files
with
43 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,4 @@ target/ | |
docs/build/ | ||
# Binaries for spec tests | ||
specbin/ | ||
a.out | ||
# Python virtual env for `invoke` | ||
venv/ | ||
a.out |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
build: | ||
cargo build --release | ||
|
||
test: build | ||
cargo test | ||
python3 specs.py | ||
|
||
clean: | ||
rm -f a.out | ||
rm -rf specbin/ | ||
cargo clean | ||
|
||
docs: | ||
cd docs/; docket | ||
|
||
clippy: | ||
cargo clippy | ||
|
||
bench opt_level="3": build | ||
#!/usr/bin/env python3 | ||
import os | ||
import glob | ||
import subprocess | ||
for bench in glob.glob("spec/bench/*.ulg"): | ||
output = bench.lstrip('spec/').rstrip('.ulg') | ||
output = os.path.join("specbin", "bench", output) | ||
try: | ||
os.makedirs(os.path.dirname(output)) | ||
except OSError: | ||
pass | ||
print("bench={0}, output={1}, opt={2}".format(bench, output, {{opt_level}})) | ||
subprocess.call("target/release/ullage {0} -O{1} -o {2}" | ||
.format(bench, {{opt_level}}, output)) | ||
subprocess.call("time {0}".format(output)) |
This file was deleted.
Oops, something went wrong.