Works fine for me, but I removed the ^c^ flag because of errors. Try that.

Of course, I'm not a Go user, so I wouldn't know much about this.

On Wed, Feb 11, 2015 at 12:44 PM, Shammah Chancellor <[email protected]>
wrote:

> Hello Tup-users!
>
> Is anyone using tup with go in production?  I am trying to simply wrap go
> build in a rule such as:
>
> : sourcefile.go |> ^c^ go build -p %o %f |> bin/%B
>
> However, it errors out with lots of these:
>
> tup error: Directory '/tmp/go-build457314217/_obj' was created, but not
> subsequently removed. Only temporary directories can be created by commands.
>
> Yet, when I look, the directories are gone:
>
> : #>ls /tmp/go-build457314217/
> : ls: cannot access /tmp/go-build457314217/: No such file or directory
>
> Thanks!
> -Shammah Chancellor
>
> --
> --
> tup-users mailing list
> email: [email protected]
> unsubscribe: [email protected]
> options: http://groups.google.com/group/tup-users?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "tup-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Ryan
If anybody ever asks me why I prefer C++ to C, my answer will be simple:
"It's becauseslejfp23(@#Q*(E*EIdc-SEGFAULT. Wait, I don't think that was
nul-terminated."
Personal reality distortion fields are immune to contradictory evidence. -
srean
Check out my website: http://kirbyfan64.github.io/

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to