mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Add download-stork-executable script
This commit is contained in:
parent
d4b9f7d4f8
commit
e1168e90c2
2 changed files with 8 additions and 0 deletions
|
|
@ -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",
|
"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",
|
"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-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",
|
"stork-netlify": "chmod +x scripts/stork-netlify.sh && ./scripts/stork-netlify.sh",
|
||||||
"dev-astro": "astro dev",
|
"dev-astro": "astro dev",
|
||||||
"generate-astro": "astro build --experimental-ssr",
|
"generate-astro": "astro build --experimental-ssr",
|
||||||
|
|
|
||||||
7
scripts/download-stork-executable.js
Normal file
7
scripts/download-stork-executable.js
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
import { downloadStorkExecutable } from '~/helpers/stork/executable.js'
|
||||||
|
|
||||||
|
;(async () => {
|
||||||
|
await downloadStorkExecutable()
|
||||||
|
|
||||||
|
process.exit()
|
||||||
|
})()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue