Open GoogleCodeExporter opened 9 years ago
Do you have a concrete case where tracking file opens doesn't work? Until I see
one, I'd be disinclined to implement this.
Original comment by pjimen...@gmail.com
on 9 Jul 2013 at 9:43
Added an example build script. Uncommenting the 'baz' line will cause the
'baz.txt' file to be added but does not cause rerunning of the zip command.
Original comment by nuutti.k...@gmail.com
on 9 Jul 2013 at 11:42
Attachments:
Just use:
def package():
files = glob.glob('*.txt')
run('7z', 'a', 'pkg.zip', *files, shell=True)
Then the command changes if the directory contents change.
Making a default dependency on *everything* inside *every* directory opened can
make huge unnecessary dependencies.
Original comment by ele...@gmail.com
on 9 Jul 2013 at 11:56
Not default dependency on everything inside every directory, but only those
directories for which "readdir" (or "getdents" as the syscall is) has been
called.
Also, in my real use case, the command is "ipkg_build" which takes a directory
instead a list of files, so I can not easily give all the files separately.
Original comment by nuutti.k...@gmail.com
on 9 Jul 2013 at 12:00
Original issue reported on code.google.com by
nuutti.k...@gmail.com
on 6 Jul 2013 at 6:27