aboutsummaryrefslogtreecommitdiff
path: root/containermake.lua
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-05-20 23:30:47 -0700
committerGitHub <noreply@github.com>2017-05-20 23:30:47 -0700
commit55f50910d96b94658b8d9d6bcaa09be5cc90bc05 (patch)
tree07112ff8f7d2a67dbb5f99652181d4e205f877cb /containermake.lua
parent372573572913bebe24312b72f2c62d74bb8aba54 (diff)
parente8f967619e02ebdd6daa5132012ea2382f34ce91 (diff)
downloadxesite-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.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()