diff --git a/bin/moon b/bin/moon index a4892bd..9b7593b 100755 --- a/bin/moon +++ b/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") diff --git a/bin/moon.moon b/bin/moon.moon index 853cf19..eb36eab 100644 --- a/bin/moon.moon +++ b/bin/moon.moon @@ -1,5 +1,5 @@ -require "alt_getopt" +alt_getopt = require "alt_getopt" moonscript = require "moonscript.base" util = require "moonscript.util" diff --git a/bin/splat.moon b/bin/splat.moon index 506a54a..df523c1 100755 --- a/bin/splat.moon +++ b/bin/splat.moon @@ -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"