mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
switched the alt_getopt module import to work with newer versions of lua (#289)
This commit is contained in:
parent
c49fdca7aa
commit
32d650a5ff
2
bin/moon
2
bin/moon
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env lua
|
||||
require("alt_getopt")
|
||||
local alt_getopt = require("alt_getopt")
|
||||
local moonscript = require("moonscript.base")
|
||||
local util = require("moonscript.util")
|
||||
local errors = require("moonscript.errors")
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
require "alt_getopt"
|
||||
alt_getopt = require "alt_getopt"
|
||||
|
||||
moonscript = require "moonscript.base"
|
||||
util = require "moonscript.util"
|
||||
|
@ -2,8 +2,8 @@
|
||||
|
||||
-- concatenate a collection of lua modules into one
|
||||
|
||||
require "lfs"
|
||||
require "alt_getopt"
|
||||
lfs = require "lfs"
|
||||
alt_getopt = require "alt_getopt"
|
||||
|
||||
import insert, concat from table
|
||||
import dump, split from require "moonscript.util"
|
||||
|
Loading…
Reference in New Issue
Block a user