From e5c87b4489b0881b7b9903733478f0d11ac96ab7 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Tue, 22 Oct 2013 14:23:46 -0400 Subject: [PATCH 1/1] Move `src` to `luatz` subdirectory to make development paths simpler --- luatz-scm-0.rockspec | 12 ++++++------ {src => luatz}/gettime.lua | 0 {src => luatz}/init.lua | 0 {src => luatz}/timetable.lua | 0 {src => luatz}/tzcache.lua | 0 {src => luatz}/tzfile.lua | 0 {src => luatz}/tzinfo.lua | 0 spec/timetable_spec.lua | 2 +- 8 files changed, 7 insertions(+), 7 deletions(-) rename {src => luatz}/gettime.lua (100%) rename {src => luatz}/init.lua (100%) rename {src => luatz}/timetable.lua (100%) rename {src => luatz}/tzcache.lua (100%) rename {src => luatz}/tzfile.lua (100%) rename {src => luatz}/tzinfo.lua (100%) 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 -- 2.39.5