Add download-stork-executable script

This commit is contained in:
Sam Carlton 2022-05-10 13:14:39 -05:00
parent d4b9f7d4f8
commit e1168e90c2
2 changed files with 8 additions and 0 deletions

View file

@ -36,6 +36,7 @@
"build-stork-index": "./$npm_package_config_stork_executable build --input $npm_package_config_stork_toml --output $npm_package_config_stork_binary",
"setup-stork": "run-s build-stork build-stork-index",
"download-stork-toml": "node -r esm -r tsconfig-paths/register scripts/download-stork-toml.js",
"download-stork-executable": "node -r esm -r tsconfig-paths/register scripts/download-stork-executable.js",
"stork-netlify": "chmod +x scripts/stork-netlify.sh && ./scripts/stork-netlify.sh",
"dev-astro": "astro dev",
"generate-astro": "astro build --experimental-ssr",

View file

@ -0,0 +1,7 @@
import { downloadStorkExecutable } from '~/helpers/stork/executable.js'
;(async () => {
await downloadStorkExecutable()
process.exit()
})()