From: daurnimator Date: Tue, 22 Oct 2013 18:23:46 +0000 (-0400) Subject: Move `src` to `luatz` subdirectory to make development paths simpler X-Git-Url: https://git.madduck.net/etc/awesome.git/commitdiff_plain/e5c87b4489b0881b7b9903733478f0d11ac96ab7?ds=inline;hp=c2f23781178393e2b5a6a78eb18115566796937c Move `src` to `luatz` subdirectory to make development paths simpler --- diff --git a/luatz-scm-0.rockspec b/luatz-scm-0.rockspec index 25b0f62..96709c7 100644 --- a/luatz-scm-0.rockspec +++ b/luatz-scm-0.rockspec @@ -22,11 +22,11 @@ source = { build = { type = "builtin" ; modules = { - ["luatz.init"] = "src/init.lua" ; - ["luatz.gettime"] = "src/gettime.lua" ; - ["luatz.timetable"] = "src/timetable.lua" ; - ["luatz.tzcache"] = "src/tzcache.lua" ; - ["luatz.tzfile"] = "src/tzfile.lua" ; - ["luatz.tzinfo"] = "src/tzinfo.lua" ; + ["luatz.init"] = "luatz/init.lua" ; + ["luatz.gettime"] = "luatz/gettime.lua" ; + ["luatz.timetable"] = "luatz/timetable.lua" ; + ["luatz.tzcache"] = "luatz/tzcache.lua" ; + ["luatz.tzfile"] = "luatz/tzfile.lua" ; + ["luatz.tzinfo"] = "luatz/tzinfo.lua" ; } ; } diff --git a/src/gettime.lua b/luatz/gettime.lua similarity index 100% rename from src/gettime.lua rename to luatz/gettime.lua diff --git a/src/init.lua b/luatz/init.lua similarity index 100% rename from src/init.lua rename to luatz/init.lua diff --git a/src/timetable.lua b/luatz/timetable.lua similarity index 100% rename from src/timetable.lua rename to luatz/timetable.lua diff --git a/src/tzcache.lua b/luatz/tzcache.lua similarity index 100% rename from src/tzcache.lua rename to luatz/tzcache.lua diff --git a/src/tzfile.lua b/luatz/tzfile.lua similarity index 100% rename from src/tzfile.lua rename to luatz/tzfile.lua diff --git a/src/tzinfo.lua b/luatz/tzinfo.lua similarity index 100% rename from src/tzinfo.lua rename to luatz/tzinfo.lua diff --git a/spec/timetable_spec.lua b/spec/timetable_spec.lua index 9a16af5..4cadbbc 100644 --- a/spec/timetable_spec.lua +++ b/spec/timetable_spec.lua @@ -1,5 +1,5 @@ describe ( "Time table library" , function ( ) - local timetable = require "timetable" + local timetable = require "luatz.timetable" it ( "Doomsday calculation" , function ( ) local doomsday = timetable.doomsday