1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2024-11-05 06:14:36 +00:00
Funkin/source/Prebuild.hx

23 lines
360 B
Haxe
Raw Normal View History

package source; // Yeah, I know...
import sys.io.File;
class Prebuild
{
static inline final buildTimeFile = '.build_time';
static function main()
{
saveBuildTime();
trace('Building...');
}
static function saveBuildTime()
{
var fo = File.write(buildTimeFile);
var now = Sys.time();
fo.writeDouble(now);
fo.close();
}
}