| 12345678910111213141516171819202122232425262728293031323334 |
- #!/bin/bash
- ## Belarus 2020-2021
- git clone -b main https://git-crysp.uwaterloo.ca/vvecna/belarus-2020-2021.git
- ## Build docker for analysis
- docker build -t tp-analysis .
- ## Lox/Troll Patrol
- # Set up dependencies
- git clone https://github.com/arkworks-rs/spongefish && \
- cd spongefish && \
- git checkout fcc277f8a857fdeeadd7cca92ab08de63b1ff1a1 && \
- cd .. && \
- git clone -b victor/artifact https://github.com/sigma-rs/sigma-proofs && \
- git clone -b artifact https://git-crysp.uwaterloo.ca/SigmaProtocol/sigma-compiler && \
- git clone -b artifact https://git-crysp.uwaterloo.ca/SigmaProtocol/cmz
- # Clone the three versions of Lox repo
- git clone -b lox-original https://git-crysp.uwaterloo.ca/vvecna/lox-troll-patrol-extension.git lox-old && \
- git clone -b lox-extension https://git-crysp.uwaterloo.ca/vvecna/lox-troll-patrol-extension.git lox-new && \
- git clone -b main https://git-crysp.uwaterloo.ca/vvecna/lox-troll-patrol-extension.git troll-patrol && \
- # Copy Dockerfile to lox-new and troll-patrol
- cp conf/Dockerfile lox-new/
- cp conf/Dockerfile troll-patrol/
- # For each, build the docker container
- for i in lox-old lox-new troll-patrol; do
- cd "$i" && docker build -t "$i" . && cd ..
- done
|