aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
blob: 6e356acc5c0c09fc1d047008512dbfee0a570d72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
default:
  livebook server

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/

fetch-cost-models outp="current":
  mkdir -p {{justfile_directory()}}/{{outp}}
  rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{outp}}/candelabra

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 '{}' \;