|
@@ -709,10 +709,10 @@ M.generate_site = function()
|
|
-- comparing RDF resource timestamps with HTML page timestamps. Post-MVP.
|
|
-- comparing RDF resource timestamps with HTML page timestamps. Post-MVP.
|
|
if path.isdir(pkar.config.htmlgen.out_dir) then
|
|
if path.isdir(pkar.config.htmlgen.out_dir) then
|
|
dir.rmtree(pkar.config.htmlgen.out_dir) end
|
|
dir.rmtree(pkar.config.htmlgen.out_dir) end
|
|
- --[[
|
|
|
|
|
|
+
|
|
|
|
+ -- Recreate asset dir.
|
|
if path.isdir(M.asset_dir) then dir.rmtree(M.asset_dir) end
|
|
if path.isdir(M.asset_dir) then dir.rmtree(M.asset_dir) end
|
|
dir.makepath(M.asset_dir)
|
|
dir.makepath(M.asset_dir)
|
|
- --]]
|
|
|
|
|
|
|
|
-- Copy static assets.
|
|
-- Copy static assets.
|
|
dir.clonetree("templates/assets", M.asset_dir, dir.copyfile)
|
|
dir.clonetree("templates/assets", M.asset_dir, dir.copyfile)
|