Buck: buck run
Support Ukraine. Help Provide Humanitarian Aid to Ukraine.

buck run

This command builds and runs an executable resulting from building a target.

buck run //app:app-dist
For Android/iOS rules which can't be run directly, buck install -r should be used to install the result of the build on the appropriate emulator/simulator.

Common Parameters

All the parameters for buck build also apply to buck run.

Passing Arguments

Passing the -- flag will cause all following arguments to be piped through to the binary called by buck run. For example, calling

buck run //:bin --no-cache -- --foo=bar arg1 arg2
Will build //:bin without the cache and call the result with the arguments ["--foo=bar", "arg1", "arg2"]