Skip to content

Commit

Permalink
chore: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Nov 30, 2024
1 parent 5961e45 commit 4135b98
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,13 @@ jobs:
run: bunx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Attach Binaries
uses: softprops/action-gh-release@v2
with:
files: |
storage/framework/core/buddy/dist/bin/buddy-linux-x64
storage/framework/core/buddy/dist/bin/buddy-linux-arm64
storage/framework/core/buddy/dist/bin/buddy-windows-x64.exe
storage/framework/core/buddy/dist/bin/buddy-darwin-x64
storage/framework/core/buddy/dist/bin/buddy-darwin-arm64
19 changes: 9 additions & 10 deletions storage/framework/core/buddy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,17 +59,16 @@
"files": ["README.md", "dist"],
"scripts": {
"buddy": "bunx --bun ./src/cli.ts",
"build": "bun build.ts && bun run compile",
"compile": "bun build ./bin/cli.ts --compile --minify --sourcemap --outfile dist/stacks",
"compile:linux:x64-modern": "bun build ./bin/cli.ts --compile --target=bun-linux-x64-modern --minify --sourcemap --outfile dist/stacks",
"compile:linux:x64-baseline": "bun build ./bin/cli.ts --compile --target=bun-linux-x64-baseline --minify --sourcemap --outfile dist/stacks",
"compile:linux:arm64": "bun build ./bin/cli.ts --compile --target=bun-linux-arm64 --minify --sourcemap --outfile dist/stacks",
"compile:windows:x64-modern": "bun build ./bin/cli.ts --compile --target=bun-windows-x64-modern --minify --sourcemap --outfile dist/stacks",
"compile:windows:x64-baseline": "bun build ./bin/cli.ts --compile --target=bun-windows-x64-baseline --minify --sourcemap --outfile dist/stacks",
"compile:mac:arm64": "bun build ./bin/cli.ts --compile --target=bun-darwin-arm64 --minify --sourcemap --outfile dist/stacks",
"compile:mac:x64": "bun build ./bin/cli.ts --compile --target=bun-darwin-x64 --minify --sourcemap --outfile dist/stacks",
"build": "bun build.ts",
"compile": "bun build ./bin/cli.ts --compile --minify --sourcemap --outfile dist/buddy",
"compile:all": "bun run compile:linux-x64 && bun run compile:linux-arm64 && bun run compile:windows-x64 && bun run compile:darwin-x64 && bun run compile:darwin-arm64",
"compile:linux-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-x64 --outfile bin/buddy-linux-x64",
"compile:linux-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-linux-arm64 --outfile bin/buddy-linux-arm64",
"compile:windows-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-windows-x64 --outfile bin/buddy-windows-x64.exe",
"compile:darwin-x64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-x64 --outfile bin/buddy-darwin-x64",
"compile:darwin-arm64": "bun build ./bin/cli.ts --compile --minify --target=bun-darwin-arm64 --outfile bin/buddy-darwin-arm64",
"typecheck": "bun tsc --noEmit",
"prepublishOnly": "bun run build"
"prepublishOnly": "bun run build && bun run compile:all"
},
"dependencies": {
"@stacksjs/actions": "workspace:*",
Expand Down

0 comments on commit 4135b98

Please sign in to comment.