From afa4df4e40ccf6c32331ce34a9aa606138beed20 Mon Sep 17 00:00:00 2001 From: Arnaud Gissinger Date: Sat, 11 Mar 2023 11:40:22 +0100 Subject: [PATCH] [ADD] build tools --- Makefile | 14 ++++++++++++++ README.md | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c274f2 --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +.PHONY: all clean build deploy + +all: clean build deploy + +clean: + rm -rf dist/ + +build: + pip install -U build + python3 -m build + +deploy: + pip install -U twine + python3 -m twine upload dist/* diff --git a/README.md b/README.md index 316637a..6598a8f 100644 --- a/README.md +++ b/README.md @@ -58,4 +58,8 @@ bindsym $mod+Insert exec rofi-notion run $YOUR_DB_NAME ## Config -Default config destination is `$XDG_CONFIG_HOME/rofi-notion` or `$HOME/.config/rofi-notion` if `$XDG_CONFIG_HOME` is not set. \ No newline at end of file +Default config destination is `$XDG_CONFIG_HOME/rofi-notion` or `$HOME/.config/rofi-notion` if `$XDG_CONFIG_HOME` is not set. + +## Deployment + +Bump version in `setup.py` then run `make`. \ No newline at end of file