Make it possible to import "matrix" directly

This aliases "matrix.client", making both the following equivalent:

  matrix = require "matrix.client"
  matrix = require "matrix"
This commit is contained in:
Adrian Perez de Castro
2016-06-23 03:55:09 +03:00
parent cafb8724e3
commit ec288bf9fd

8
matrix.lua Normal file
View File

@@ -0,0 +1,8 @@
#! /usr/bin/env lua
--
-- matrix.lua
-- Copyright (C) 2016 Adrian Perez <aperez@igalia.com>
--
-- Distributed under terms of the MIT license.
--
return require "matrix.client"