diff options
| author | Alexander Pickering <alexandermpickering@gmail.com> | 2016-08-22 14:32:38 -0400 |
|---|---|---|
| committer | Alexander Pickering <alexandermpickering@gmail.com> | 2016-08-22 14:32:38 -0400 |
| commit | 25af93b5d1281e7a0f8d8869c5bff0a2ce8cf1bf (patch) | |
| tree | a7b5609cc5c6170b3ecde511ce6a245a1c899113 /test/glum_test.lua | |
| parent | 5871a659d3436cfd7ed813bd317036d9b45e2e90 (diff) | |
| download | glum-25af93b5d1281e7a0f8d8869c5bff0a2ce8cf1bf.tar.gz glum-25af93b5d1281e7a0f8d8869c5bff0a2ce8cf1bf.tar.bz2 glum-25af93b5d1281e7a0f8d8869c5bff0a2ce8cf1bf.zip | |
Completed minifier, created+completed uglifier
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 = { |
