Skip to content

Commit

Permalink
wip: restore dev environment
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneyJackson committed Apr 22, 2024
1 parent 0361bc1 commit eacb510
Showing 1 changed file with 30 additions and 37 deletions.
67 changes: 30 additions & 37 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,34 @@
image: gitpod/workspace-full:latest

tasks:
# - name: Install Dev Environment
# command: |
# echo "INSTALLING latest JAVA (a PLCC dependency)"
# sdk install java < /dev/null
# echo ""
# echo "INSTALLING PLCC"
# echo 'export PATH="$GITPOD_REPO_ROOT/plcc/bin:$PATH"' >> "$HOME/.bashrc"
# echo ""
# echo "INSTALLING reuse (for licenses: https://reuse.software/)"
# pip install --upgrade pip
# pip install pipx
# pipx install reuse
# echo ""
# echo "INSTALLING ag (for searching: https://github.com/ggreer/the_silver_searcher)"
# sudo apt-get update
# sudo apt-get --no-install-recommends install silversearcher-ag
# echo ""
# echo "INSTALLING bats (for testing: https://bats-core.readthedocs.io/en/latest/index.html)"
# export BATS_VERSION=v1.11.0 \
# && sudo apt-get update \
# && sudo apt-get install -y \
# git \
# && sudo apt-get clean \
# && sudo rm -rf /var/lib/apt/lists/* \
# && sudo git clone https://github.com/bats-core/bats-core.git \
# && cd bats-core \
# && sudo git checkout $BATS_VERSION \
# && sudo ./install.sh /usr/local \
# && cd .. \
# && sudo rm -rf bats-core
# exec bash

- name: Install PLCC
- name: Install Dev Environment
command: |
PLCC_GIT_BRANCH=reorg /bin/bash -c "$(\
\curl -fsSL https://github.com/ourPLCC/plcc/raw/reorg/installers/plcc/install.bash \
)" >> ~/.bashrc
exec bash
echo "INSTALLING latest JAVA (a PLCC dependency)"
sdk install java < /dev/null
echo ""
echo "INSTALLING PLCC from source"
echo 'export PATH="$GITPOD_REPO_ROOT/plcc/bin:$PATH"' >> "$HOME/.bashrc"
echo ""
echo "INSTALLING reuse (for licenses: https://reuse.software/)"
pip install --upgrade pip
pip install pipx
pipx install reuse
echo ""
echo "INSTALLING ag (for searching: https://github.com/ggreer/the_silver_searcher)"
sudo apt-get update
sudo apt-get --no-install-recommends install silversearcher-ag
echo ""
echo "INSTALLING bats (for testing: https://bats-core.readthedocs.io/en/latest/index.html)"
export BATS_VERSION=v1.11.0 \
&& sudo apt-get update \
&& sudo apt-get install -y \
git \
&& sudo apt-get clean \
&& sudo rm -rf /var/lib/apt/lists/* \
&& sudo git clone https://github.com/bats-core/bats-core.git \
&& cd bats-core \
&& sudo git checkout $BATS_VERSION \
&& sudo ./install.sh /usr/local \
&& cd .. \
&& sudo rm -rf bats-core
exec bash

0 comments on commit eacb510

Please sign in to comment.