Hi!

Somehow, I can't get my multi-directory build setup to work properly.

I have a Tupfile in the src/client directory which creates a file 
src/client/build/index.js:

: *.ts |> npx esbuild index.ts --bundle --outdir=build |> build/index.js

Togetether with several other build aritfacts, I'd like to collect this in 
my global Tupfile (sitting in the project's root directory) as such:

: src/client/build/index.js |> cp %f %o |> build/static/%b

Now, I get the following error:

tup error: Explicitly named file 'src/client/build/index.js' can't be 
listed as an input because it was generated from external directory 
'src/client' - try placing the file in a group instead and using the group 
as an input.

Being not familiar with the <group> syntax, I unsuccesfully tried several 
variants, and I'm in need of a little help here.

(Or mybe I'm misunderstanding tup's capabilities.)

Regards,
Matthias

-- 
-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/tup-users/8b474dea-df22-4606-80b1-46d6a2d465b0n%40googlegroups.com.

Reply via email to