Fix build

This commit is contained in:
0x1eef 2023-12-04 09:37:03 -03:00
parent dfc1a1979d
commit f71d83c815

View file

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