aboutsummaryrefslogtreecommitdiff
path: root/src/compile.lua
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2016-11-26 09:44:09 -0500
committerAlexander Pickering <alexandermpickering@gmail.com>2016-11-26 09:44:09 -0500
commitf96040eb138efdc8f13521bade5bf8bd299bb9fb (patch)
tree3e294ca3dd504028960a72cb44b17450d6f61266 /src/compile.lua
parent81fb5ea551c3dd8cfcb8e30c0dfed32a9000eea1 (diff)
downloadglum-f96040eb138efdc8f13521bade5bf8bd299bb9fb.tar.gz
glum-f96040eb138efdc8f13521bade5bf8bd299bb9fb.tar.bz2
glum-f96040eb138efdc8f13521bade5bf8bd299bb9fb.zip
Started to remove extraneous spaces
Diffstat (limited to 'src/compile.lua')
-rw-r--r--src/compile.lua31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/compile.lua b/src/compile.lua
deleted file mode 100644
index 13f652e..0000000
--- a/src/compile.lua
+++ /dev/null
@@ -1,31 +0,0 @@
---[[
- Interprets a .pill file to minify a file structure
-]]
-
-local lfs = require("lfs")
-
---Create some common functions
-local function getfile(filename)
- if file ~= nil then --glua environment
- return file.Read(filename)
- elseif io.open ~= nil then --Lua environment
- return io.open(filename,"r"):read("*a")
- else
- error("Could not find a way to read from files!")
- end
-end
-
-local function putfile(filename,data)
- if file ~= nil then --gLua environment
- file.Write(filename,data)
- elseif io.open ~= nil then --Lua environment
- io.open(filename):write(data)
- end
-end
-
-local function getdirs(filepath)
- local files, directories = file.Find( filepath .. "/*", "LUA" )
-end
-
-local filepath = arg[1]
-local pillfile = io.open(filepath)