Skip to content

Commit 8466525

Browse files
committed
feat: add installation and configuration rules to makefile
1 parent 7c6f221 commit 8466525

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.gitpod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
tasks:
22
- init: make install
3+
command: make config
34
vscode:
45
extensions:
56
- ms-vscode-remote.remote-containers

makefile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
install: install_hatch
1+
install: install_gh_cli install_hatch
22

33
install_hatch: install_pipx
44
pipx install hatch
@@ -10,3 +10,13 @@ install_pipx: install_python_with_pyenv
1010
install_python_with_pyenv:
1111
pyenv install 3.10.7 && \
1212
pyenv global 3.10.7
13+
14+
install_gh_cli:
15+
wget https://github.com/cli/cli/releases/download/v2.16.1/gh_2.16.1_linux_amd64.deb && \
16+
sudo dpkg -i gh_2.16.1_linux_amd64.deb && \
17+
rm gh_2.16.1_linux_amd64.deb
18+
19+
config: config_gh_cli
20+
21+
config_gh_cli:
22+
gh auth login

0 commit comments

Comments
 (0)