lgi.lua 756 B

1234567891011121314151617181920
  1. ------------------------------------------------------------------------------
  2. --
  3. -- LGI Lua-side core.
  4. --
  5. -- Copyright (c) 2011 Pavel Holejsovsky
  6. -- Licensed under the MIT license:
  7. -- http://www.opensource.org/licenses/mit-license.php
  8. --
  9. ------------------------------------------------------------------------------
  10. -- This is simple forwarder to real package 'lgi/init.lua'. Normally,
  11. -- lgi/init.lua could suffice, but this file is needed for two
  12. -- reasons:
  13. -- 1) Running uninstalled, because Lua unfortunately does not contain
  14. -- './?/init.lua' component in its package.path
  15. -- 2) Upgrading older installations (<0.2), where lgi.lua was the only
  16. -- installed file, it would take precedence over 'lgi/init.lua'.
  17. return require 'lgi.init'