Skip to content

Commit

Permalink
build: remove run command from Makefile
Browse files Browse the repository at this point in the history
Makefile should just build the project, it doesn't have to run the
app itself.
  • Loading branch information
furkansimsekli committed Jun 9, 2023
1 parent 2b1ab0f commit 1b58df6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
.PHONY: run
.PHONY: build

CONFIG = ../.config-files/hu-announcement-bot/config.py
CONFIG = ~/.config/hu-announcement-bot/config.py

run: .venv $(CONFIG)
. .venv/bin/activate && \
cp $(CONFIG) src && \
python -m src
build: .venv $(CONFIG)
cp $(CONFIG) src

.venv: requirements.txt
python3 -m venv .venv
Expand Down

0 comments on commit 1b58df6

Please sign in to comment.