From 8e71398a7625a4800ea1356cbfeda37f5f8eb072 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Mon, 4 Dec 2023 09:37:03 -0300 Subject: [PATCH] Fix build --- tasks/nanoc.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/nanoc.rake b/tasks/nanoc.rake index 7a0cf6b..efec64f 100644 --- a/tasks/nanoc.rake +++ b/tasks/nanoc.rake @@ -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)