diff options
Diffstat (limited to 'test/glum_test.lua')
| -rw-r--r-- | test/glum_test.lua | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/test/glum_test.lua b/test/glum_test.lua index cc19620..4bd5e10 100644 --- a/test/glum_test.lua +++ b/test/glum_test.lua @@ -1,6 +1,5 @@ - -print("Hello, from glum_test.lua") -local glum = dofile("../src/glum.lua") +--local glum = dofile("../src/test.lua") +local glum = dofile("../src/test2.lua") local str1 = [[ --This is a test print("hello") @@ -240,11 +239,17 @@ local f5 = io.open("../src/glum.lua", "r") local str5 = f5:read("*a") f5:close() -print("Glum:") -print(glum) -print(glum.minify) -local f = glum.minify(str5) -print(f) +--print("Glum:") +--print(glum) +--print(glum.minify) +--local f = glum.minify(str5) +--print(string.dump(loadstring(f))) + +--print(glum.minify(str5)) +local min = glum.minify(str5) +local comp = glum.uglify(min) +print(comp) + --[[ local fuzzel = loadstring(f)() local options = { |
