-
Notifications
You must be signed in to change notification settings - Fork 31
/
install.sh
executable file
·25 lines (21 loc) · 748 Bytes
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env bash
## install.sh: run during an AppVeyor build to install the conda environment
## and the optional Pandoc spellcheck dependencies.
# Set options for extra caution & debugging
set -o errexit \
-o pipefail
wget https://github.com/conda-forge/miniforge/releases/latest/download/Miniforge-pypy3-$(uname)-$(uname -m).sh \
--output-document miniforge.sh
bash miniforge.sh -b -p $HOME/miniconda
source $HOME/miniconda/etc/profile.d/conda.sh
hash -r
conda config \
--set always_yes yes \
--set changeps1 no
conda env create --quiet --file build/environment.yml
conda list --name manubot
conda activate manubot
# Install Spellcheck filter for Pandoc
if [ "${SPELLCHECK:-}" = "true" ]; then
bash ci/install-spellcheck.sh
fi