Skip to content

Instantly share code, notes, and snippets.

@danyill
Created December 18, 2018 06:51
Show Gist options
  • Save danyill/0836a20276bf6fe287b60a1aa58d291d to your computer and use it in GitHub Desktop.
Save danyill/0836a20276bf6fe287b60a1aa58d291d to your computer and use it in GitHub Desktop.
contributing.adoc issue with Antora

Testing contributing.adoc for Antora:

docker run -it ubuntu:cosmic bash

Within the container:

apt update && apt install -y wget git && wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"  # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"  # This loads nvm bash_completion
nvm use 10
git clone https://gitlab.com/antora/antora && cd "$(basename $_)" && npm install -g yarn && npm install -g gulp-cli && yarn
gulp test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment