aboutsummaryrefslogtreecommitdiff
path: root/containermake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'containermake.lua')
-rw-r--r--containermake.lua23
1 files changed, 0 insertions, 23 deletions
diff --git a/containermake.lua b/containermake.lua
deleted file mode 100644
index f9037e0..0000000
--- a/containermake.lua
+++ /dev/null
@@ -1,23 +0,0 @@
-local sh = require "sh"
-local fs = require "fs"
-
-sh { abort = true }
-
-local cd = function(path)
- local ok, err = fs.chdir(path)
- if err ~= nil then
- error(err)
- end
-end
-
-cd "frontend"
-sh.rm("-rf", "node_modules", "bower_components"):ok()
-print "running npm install..."
-sh.npm("install"):print()
-print "running npm run build..."
-sh.npm("run", "build"):print()
-print "packing frontend..."
-sh.asar("pack", "static", "../frontend.asar"):print()
-cd ".."
-
-sh.box("box.rb"):print()