Skip to content

Commit

Permalink
build: add script to Tiltfile
Browse files Browse the repository at this point in the history
  • Loading branch information
vindard committed Dec 15, 2023
1 parent e4b8a2c commit e3ca194
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dev/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ sh_binary(
main = "bin/init-onchain.sh",
)

sh_binary(
name = "init-lightning",
main = "bin/init-lightning.sh",
)

sh_binary(
name = "init-user",
main = "bin/init-user.sh",
Expand Down
13 changes: 13 additions & 0 deletions dev/Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,19 @@ local_resource(
]
)

local_resource(
name='init-lightning',
labels = ['bitcoin'],
cmd='buck2 run //dev:init-lightning',
allow_parallel = True,
resource_deps = [
"init-onchain",
"lnd1",
"lnd-outside-1",
"lnd-outside-2",
]
)

api_keys_target = "//core/api-keys:api-keys"
local_resource(
"api-keys",
Expand Down

0 comments on commit e3ca194

Please sign in to comment.