diff --git a/.gitpod.yml b/.gitpod.yml index c845c8a..cfdff0f 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,5 +1,6 @@ tasks: - init: make install + command: make config vscode: extensions: - ms-vscode-remote.remote-containers diff --git a/makefile b/makefile index 917dbda..209407c 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,4 @@ -install: install_hatch +install: install_gh_cli install_hatch install_hatch: install_pipx pipx install hatch @@ -10,3 +10,13 @@ install_pipx: install_python_with_pyenv install_python_with_pyenv: pyenv install 3.10.7 && \ pyenv global 3.10.7 + +install_gh_cli: + wget https://github.com/cli/cli/releases/download/v2.16.1/gh_2.16.1_linux_amd64.deb && \ + sudo dpkg -i gh_2.16.1_linux_amd64.deb && \ + rm gh_2.16.1_linux_amd64.deb + +config: config_gh_cli + +config_gh_cli: + gh auth login