Skip to content

Commit

Permalink
build: remove old copy config step
Browse files Browse the repository at this point in the history
New config works with toml instead of plain Python files, therefore
I adapted those changes to existing Makefile.
  • Loading branch information
furkansimsekli committed Sep 15, 2023
1 parent dffc62c commit 881a4da
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
.PHONY: build

CONFIG = ~/.config/hu-announcement-bot/config.py
build: venv
. venv/bin/activate && pip install -r requirements.txt

build: .venv $(CONFIG)
cp $(CONFIG) src

.venv: requirements.txt
python3 -m venv .venv
. .venv/bin/activate && pip install -r requirements.txt
venv: requirements.txt
python3 -m venv venv

0 comments on commit 881a4da

Please sign in to comment.