Skip to content

Run multiple sets of commands at in parallelize #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
toni-moreno opened this issue Aug 10, 2018 · 1 comment
Open

Run multiple sets of commands at in parallelize #21

toni-moreno opened this issue Aug 10, 2018 · 1 comment

Comments

@toni-moreno
Copy link

My project (https://github.com/toni-moreno/resistor) needs compile 2 different binaries, I would like handle code changes with bra for both binaries.

But when configuring with this config it doens't work

$ cat .bra.toml 
[run]
init_cmds = [
  ["go", "build","-o", "./bin/resistor", "./pkg/"],
  ["go", "build","-o", "./bin/resinjector", "./pkg/udf" ],
  ["./bin/resistor", "&", "./bin/resinjector"],
]
watch_all = true
watch_dirs = [
	"$WORKDIR/pkg",
]

There is any way to do this?

@unknwon
Copy link
Owner

unknwon commented Aug 14, 2018

Good idea... but currently implementation only works based on sequential execution, we may need to introduce a new key (e.g. init_cmds_sets) to define more than one set of commands that are executed concurrently.

@unknwon unknwon changed the title [Feature Request] Run multiple commands at once ( parallelize) Run multiple commands at once ( parallelize) Sep 16, 2018
@unknwon unknwon changed the title Run multiple commands at once ( parallelize) Run multiple sets of commands at in parallelize Sep 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants