Copy crontab file on build

This commit is contained in:
Darren Clarke 2024-07-03 11:54:07 +02:00
parent 20cb2836f0
commit 4f03591629

View file

@ -6,7 +6,7 @@
"author": "Darren Clarke <darren@redaranj.com>", "author": "Darren Clarke <darren@redaranj.com>",
"license": "AGPL-3.0-or-later", "license": "AGPL-3.0-or-later",
"scripts": { "scripts": {
"build": "tsc -p tsconfig.json", "build": "tsc -p tsconfig.json && cp crontab build/main/crontab",
"dev": "dotenv -- graphile-worker", "dev": "dotenv -- graphile-worker",
"start": "node build/main/index.js" "start": "node build/main/index.js"
}, },