Hi Gerardo,
I'm not familiar with the tutorial you're using, but I think the :-rule
needs to be in "Tupfile" rather than "Tupfile.ini". The latter is just
an empty file to mark the top of the source tree.
--Robb
On 05/15/18 14:20, Gerardo Delgadillo wrote:
I haven't tried the other tests. Here's the info:
ls -a
. .. hello.c .tup Tupfile.ini
tup
[ tup ] [0.000s] Scanning filesystem...
[ tup ] [0.001s] Reading in new environment variables...
[ tup ] [0.001s] No Tupfiles to parse.
[ tup ] [0.001s] No files to delete.
[ tup ] [0.001s] No commands to execute.
[ tup ] [0.001s] Updated.
cat Tupfile.ini
: hello.c |> gcc hello.c -o hello |> hello
cat hello.c
#include <stdio.h>
int main(void)
{
printf("Hello, world!\n");
return 0;
}
tup graph *
digraph G {
node_2 [label="hello.c\n2" shape="oval" color="#000000"
fontcolor="#000000" style=solid];
node_3 [label="Tupfile.ini\n3" shape="oval" color="#000000"
fontcolor="#000000" style=solid];
}
On Tuesday, May 15, 2018 at 11:48:28 AM UTC-5, Erik wrote:
I just tried to reproduce this, but had no trouble building the
first version of "hello" with the current master. My machine is
similar to yours, variant of 16.04, i7, 16G ram. Did you try running
all of the tests? Can you retype exactly what you're executing?
On Tue, May 15, 2018 at 12:04 PM Gerardo Delgadillo
<[email protected] <javascript:>> wrote:
I got the latest Tup surce code and compiled. Then I followed
the instructions for building the "A first Tupfile" example. But
when I run tup, it doesn't build the hello.c file. Instead, I
get a "No commands to execute" message, along with "No Tupfiles
to parse," and "No files to delete."
PC runs on Ubuntu 16.04. i7, 16GB ram. etc.
I deleted the directory repeated the steps with the same result.
I also Google for this and found nothing.
--
--
tup-users mailing list
email: [email protected] <javascript:>
unsubscribe: [email protected] <javascript:>
options: http://groups.google.com/group/tup-users?hl=en
<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] <javascript:>.
For more options, visit https://groups.google.com/d/optout
<https://groups.google.com/d/optout>.
--
--
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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
--
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.