From ec288bf9fd2a576e427600fa38a00ef9a602cab4 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 23 Jun 2016 03:55:09 +0300 Subject: [PATCH] Make it possible to import "matrix" directly This aliases "matrix.client", making both the following equivalent: matrix = require "matrix.client" matrix = require "matrix" --- matrix.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 matrix.lua diff --git a/matrix.lua b/matrix.lua new file mode 100644 index 0000000..74218b8 --- /dev/null +++ b/matrix.lua @@ -0,0 +1,8 @@ +#! /usr/bin/env lua +-- +-- matrix.lua +-- Copyright (C) 2016 Adrian Perez +-- +-- Distributed under terms of the MIT license. +-- +return require "matrix.client"