Fix build
This commit is contained in:
parent
dfc1a1979d
commit
f71d83c815
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue