aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
blob: 8200fed996aad7541205b2171c266263fbffa70c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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}}
  rm -fr {{justfile_directory()}}/{{outp}}/candelabra
  rsync -ravP candelabra:/opt/candelabra/src/target/candelabra/ {{justfile_directory()}}/{{outp}}/candelabra

fetch-comparisons outp="current":
  mkdir -p {{justfile_directory()}}/{{outp}}
  rm -fr {{justfile_directory()}}/{{outp}}/criterion
  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 '{}' \;