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

fetch job: (download-log job) (download-criterion job)

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/

download-criterion job:
  rsync -ravP candelabra:/opt/candelabra/src/tests/target/criterion/ {{justfile_directory()}}/{{job}}/criterion
  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 '{}' \;