Skip to content

Commit

Permalink
feat: add installation and configuration rules to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
leynier committed Sep 27, 2022
1 parent 7c6f221 commit 8466525
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
tasks:
- init: make install
command: make config
vscode:
extensions:
- ms-vscode-remote.remote-containers
Expand Down
12 changes: 11 additions & 1 deletion makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
install: install_hatch
install: install_gh_cli install_hatch

install_hatch: install_pipx
pipx install hatch
Expand All @@ -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

0 comments on commit 8466525

Please sign in to comment.