aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
diff options
context:
space:
mode:
Diffstat (limited to 'analysis/Justfile')
-rw-r--r--analysis/Justfile26
1 files changed, 14 insertions, 12 deletions
diff --git a/analysis/Justfile b/analysis/Justfile
index 837a79e..6e356ac 100644
--- a/analysis/Justfile
+++ b/analysis/Justfile
@@ -1,17 +1,19 @@
default:
livebook server
-fetch job: (download-log job) (download-other job)
+fetch-log job outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ curl https://git.tardisproject.uk/tcmal/dissertation/-/jobs/{{job}}/raw > {{justfile_directory()}}/{{outp}}/log
+ ./split-log.py {{justfile_directory()}}/{{outp}}/log
+ grep -R -H -i 'error' {{justfile_directory()}}/{{outp}}/sections/
-download-log job:
- mkdir -p {{justfile_directory()}}/{{job}}
- curl https://git.tardisproject.uk/tcmal/dissertation/-/jobs/{{job}}/raw > {{justfile_directory()}}/{{job}}/log
- ./split-log.py {{justfile_directory()}}/{{job}}/log
- grep -R -H -i 'error' {{justfile_directory()}}/{{job}}/sections/
+fetch-cost-models outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{outp}}/candelabra
-download-other job:
- rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{job}}/criterion
- rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{job}}/candelabra
- rm -rf {{justfile_directory()}}/{{job}}/criterion/report
- find {{justfile_directory()}}/{{job}}/criterion -iname '*.svg' -exec rm '{}' \;
- find {{justfile_directory()}}/{{job}}/criterion -iname '*.html' -exec rm '{}' \;
+fetch-comparisons outp="current":
+ mkdir -p {{justfile_directory()}}/{{outp}}
+ rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{outp}}/criterion
+ rm -rf {{justfile_directory()}}/{{outp}}/criterion/report
+ find {{justfile_directory()}}/{{outp}}/criterion -iname '*.svg' -exec rm '{}' \;
+ find {{justfile_directory()}}/{{outp}}/criterion -iname '*.html' -exec rm '{}' \;