You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
Is it possible to write a command that calls another command? I feel like that might be the only way to do it.
Harald Meland
unread,
Aug 16, 2012, 3:08:34 AM8/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
On Wed, Aug 15, 2012 at 10:40 PM, Jesse C <crimson...@gmail.com> wrote:
> Is it possible to write a command that calls another command? I feel like
> that might be the only way to do it.
If that is an acceptable way of solving the OP's problem, then why not
simply define an alias:
alias eclipse-dist=; eclipse; dist-task
in a .sbtrc file?
--
Harald
Heiko Seeberger
unread,
Aug 16, 2012, 9:57:45 AM8/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
On Aug 16, 2012, at 12:08 AM, Harald Meland wrote:
> alias eclipse-dist=; eclipse; dist-task
Awesome. That would work!
Heiko
Heiko Seeberger
unread,
Aug 16, 2012, 10:02:01 AM8/16/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to simple-b...@googlegroups.com
On Aug 15, 2012, at 10:52 AM, Joshua Serrin wrote:
> Really? In my Build.scala I have a dist task to run assembly and copy
> files to a directory.
>
> https://gist.github.com/3361920 >
> Why can't we do something like...
>
> dist <<= (assembly in Compile, eclipse, ...
>
> BTW: I get a 'not found: value eclipse' when I try it.
eclipse, as compared to assembly, is not a task, but a command. Tasks have associated keys and those are referred in expressions like the one you tried. Commands have no such keys.