always create requirements.txt, even if empty

This commit is contained in:
Luis Finke 2023-01-04 17:26:24 -05:00 committed by GitHub
commit 49c3093a99
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@
"version": "0.0.1",
"description": "A template to quickly create decky plugins from scratch, based on TypeScript and webpack",
"scripts": {
"prepare": "if [ -f requirements.txt ]; then\n\tpip3 install -U -r requirements.txt -t py_modules\nfi",
"prepare": "touch requirements.txt && pip3 install --upgrade -r requirements.txt -t py_modules",
"build": "shx rm -rf dist && rollup -c",
"watch": "rollup -c -w",
"test": "echo \"Error: no test specified\" && exit 1"