Add tasks for all the new languages

This commit is contained in:
Tina Müller 2016-12-05 23:44:36 +01:00
parent 9dc3c2bb62
commit bba7bfd280
13208 changed files with 134745 additions and 0 deletions

View file

@ -0,0 +1,16 @@
import os, times
let accTime = getLastAccessTime("filename")
let modTime = getLastModificationTime("filename")
import posix
var unixAccTime = Timeval(tv_sec: int(accTime))
var unixModTime = Timeval(tv_sec: int(modTime))
# Set the modification time
unixModTime.tv_sec = 0
var times = [unixAccTime, unixModTime]
discard utimes("filename", addr(times))
# Set the access and modification times to the current time
discard utimes("filename", nil)