aboutsummaryrefslogtreecommitdiff
path: root/box.rb
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-07-01 13:20:01 -0700
committerChristine Dodrill <me@christine.website>2018-07-01 13:20:01 -0700
commit599712fab9127013e2d89dadabd839c847730637 (patch)
tree2a69843e6a5fbdb69cf4c4600e5a8693a3c4a708 /box.rb
parent7d8c210f1499bce3558f107402f2c7ccf8417e7d (diff)
downloadxesite-599712fab9127013e2d89dadabd839c847730637.tar.xz
xesite-599712fab9127013e2d89dadabd839c847730637.zip
rip out mage
Diffstat (limited to 'box.rb')
-rw-r--r--box.rb36
1 files changed, 0 insertions, 36 deletions
diff --git a/box.rb b/box.rb
deleted file mode 100644
index 625eed9..0000000
--- a/box.rb
+++ /dev/null
@@ -1,36 +0,0 @@
-from "xena/go:1.10"
-
-### Copy files
-run "mkdir -p /site"
-
-def put(file)
- copy "./#{file}", "/site/#{file}"
-end
-
-files = [
- "gops.go",
- "hash.go",
- "html.go",
- "main.go",
- "rss.go",
- "run.sh",
- "templates",
- "blog",
- "rice-box.go"
-]
-
-files.each { |x| put x }
-
-copy "vendor/", "/root/go/src/"
-
-### Build
-run "cd /site && go build -v"
-
-### Cleanup
-run %q[ rm -rf /root/go /site/backend /root/sdk /site/*.go ]
-run %q[ rm -rf /usr/local/bin/go* ]
-
-cmd "/site/run.sh"
-
-flatten
-tag "xena/christine.website"