From 30aa5d8c2ddb49ec56596edad23b5c1043737366 Mon Sep 17 00:00:00 2001 From: Christine Dodrill Date: Wed, 17 May 2017 21:30:25 -0700 Subject: remove code --- containermake.lua | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 containermake.lua (limited to 'containermake.lua') 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() -- cgit v1.2.3