mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-02-28 06:22:45 -08:00
chore(scripts): align tooling with runtime/service updates
This commit is contained in:
2
Makefile
2
Makefile
@@ -134,7 +134,7 @@ build-macos-unsigned: deps
|
||||
build-launcher:
|
||||
@printf '%s\n' "[INFO] Bundling launcher script"
|
||||
@bun build ./launcher/main.ts --target=bun --packages=bundle --outfile=subminer
|
||||
@sed -i '1s|^// @bun|#!/usr/bin/env bun\n// @bun|' subminer
|
||||
@python3 -c 'from pathlib import Path; p=Path("subminer"); c=p.read_text(); c=("#!/usr/bin/env bun\n"+c) if not c.startswith("#!/usr/bin/env bun\n") else c; p.write_text(c)'
|
||||
@chmod +x subminer
|
||||
|
||||
clean:
|
||||
|
||||
Reference in New Issue
Block a user