diff options
| author | Christine Dodrill <me@christine.website> | 2017-05-17 21:30:25 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2017-05-17 21:30:25 -0700 |
| commit | 30aa5d8c2ddb49ec56596edad23b5c1043737366 (patch) | |
| tree | c9ec557f20482ab44a6d9fb0f997b4f1561b3503 /containermake.lua | |
| parent | 372573572913bebe24312b72f2c62d74bb8aba54 (diff) | |
| download | xesite-30aa5d8c2ddb49ec56596edad23b5c1043737366.tar.xz xesite-30aa5d8c2ddb49ec56596edad23b5c1043737366.zip | |
remove code
Diffstat (limited to 'containermake.lua')
| -rw-r--r-- | containermake.lua | 23 |
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() |
