aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
blob: 8a4ba795c31904a0f5ffdc058caeeb88e20d4ee8 (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 '{}' \;