Updates the last modified date of a file without changing its contents.
ok, err = os.touchfile("filename")
filename is the file system path to the target file.
filename
True if successful, otherwise nil and an error message.
Premake 5.0 or later.