mirror of
https://github.com/byteverse/colonnade.git
synced 2024-10-26 08:03:25 +03:00
16 lines
377 B
Bash
Executable File
16 lines
377 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# To use this script on Ubuntu, you will need to first run the following:
|
|
#
|
|
# sudo apt install ghc-8.0.2 ghc-8.2.2 ghc-8.4.3
|
|
|
|
declare -a ghcs=("8.0.2" "8.2.2" "8.4.3")
|
|
|
|
## now loop through the above array
|
|
for g in "${ghcs[@]}"
|
|
do
|
|
cabal new-build --project-file "projects/cabal-$g.project" --builddir "dist-$g" -w "/opt/ghc/bin/ghc-$g" ./colonnade
|
|
done
|
|
|