Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-codez committed Sep 25, 2024
1 parent 8011acb commit cb9af4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"url": "https://github.com/zoe-codez",
"name": "Zoe Codez"
},
"bin": "./scripts/run/sh",
"bin": "./scripts/run.sh",
"files": [
"dist/**/*",
"scripts/**/*",
Expand Down
4 changes: 4 additions & 0 deletions scripts/run.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
#!/bin/sh

FULL_PATH=$(realpath "$0")
FILE_BASE=$(dirname "$FULL_PATH")
cd "$FILE_BASE/.." || exit
npx tsx src/main.ts "$1"

0 comments on commit cb9af4e

Please sign in to comment.