Fix build

This commit is contained in:
0x1eef 2023-12-04 09:37:03 -03:00
parent bb20c12433
commit 8e71398a76

View file

@ -4,6 +4,7 @@ require "fileutils"
require "lockf"
build_dir = Ryo.from(YAML.load_file("./nanoc.yaml")).output_dir
lockp = File.join Dir.getwd, "tmp", "build.lock"
FileUtils.mkdir_p File.dirname(lockp)
FileUtils.touch(lockp)
lockf = LockFile.new(lockp)