aboutsummaryrefslogtreecommitdiff
path: root/analysis/Justfile
blob: e6762d3b9ff1d0254d1719ca38fa225703505203 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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

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