jayjun / rambo

Run your command. Send input. Get output.
MIT License
204 stars 23 forks source link

How to use the version from git #12

Open philipgiuliani opened 3 years ago

philipgiuliani commented 3 years ago

When including Rambo as dependency from git instead of hex I get the following error:

sh: my-project/_build/test/lib/rambo/priv/rambo-mac: No such file or directory
sh: line 0: exec: my-project/_build/test/lib/rambo/priv/rambo-mac: cannot execute: No such file or directory
sh: line 0: exec: my-project/_build/test/lib/rambo/priv/rambo-mac: cannot execute: No such file or directory
sh: my-project/_build/test/lib/rambo/priv/rambo-mac: No such file or directory
sh: line 0: exec: my-project/_build/test/lib/rambo/priv/rambo-mac: cannot execute: No such file or directory

Whats the best way of using it?

philipgiuliani commented 3 years ago

After some investigation I noticed that its always compiling with target :custom (https://github.com/jayjun/rambo/blob/master/lib/mix/tasks/compile.rambo.ex#L87) but the filename is returning rambo-mac (https://github.com/jayjun/rambo/blob/master/lib/mix/tasks/compile.rambo.ex#L36)