diff options
| author | Christine Dodrill <me@christine.website> | 2017-05-20 23:30:47 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-20 23:30:47 -0700 |
| commit | 55f50910d96b94658b8d9d6bcaa09be5cc90bc05 (patch) | |
| tree | 07112ff8f7d2a67dbb5f99652181d4e205f877cb /containermake.lua | |
| parent | 372573572913bebe24312b72f2c62d74bb8aba54 (diff) | |
| parent | e8f967619e02ebdd6daa5132012ea2382f34ce91 (diff) | |
| download | xesite-55f50910d96b94658b8d9d6bcaa09be5cc90bc05.tar.xz xesite-55f50910d96b94658b8d9d6bcaa09be5cc90bc05.zip | |
Merge pull request #4 from Xe/Xe/feat/server-side-rendering
Use server-side rendering, redo frontend with hack.css
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() |
