[tasks.init-local]
script = '''
cd ..
target\debug\hpmq-cli.exe init -p=.\hpmq-wasi-template
'''
dependencies = ["build-rel"]
[tasks.builds]
script_runner = "@shell"
script = '''
target\debug\hpmq-cli.exe build
'''
dependencies = ["build-rel"]
[tasks.push]
script = '''
target\debug\hpmq-cli.exe push
'''
dependencies = ["build-rel"]
[tasks.pull]
script = '''
target\debug\hpmq-cli.exe pull -i ${@}
'''
dependencies = ["build-rel"]
[tasks.ct-init]
script_runner = "@shell"
script = '''
target\debug\hpmq-cli.exe ct-init -i ${@}
'''
dependencies = ["build-rel"]
[tasks.build-rel]
command = "cargo"
args = ["build"
, "--bin"
, "hpmq-cli"
]
private = true