-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall.sh
More file actions
25 lines (21 loc) · 743 Bytes
/
Copy pathinstall.sh
File metadata and controls
25 lines (21 loc) · 743 Bytes
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/Mambaforge-$(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
mamba env create --quiet --file build/environment.yml
mamba list --name manubot
conda activate manubot
# Install Spellcheck filter for Pandoc
if [ "${SPELLCHECK:-}" = "true" ]; then
bash ci/install-spellcheck.sh
fi