diff options
| author | Christine Dodrill <me@christine.website> | 2018-07-01 13:20:01 -0700 |
|---|---|---|
| committer | Christine Dodrill <me@christine.website> | 2018-07-01 13:20:01 -0700 |
| commit | 599712fab9127013e2d89dadabd839c847730637 (patch) | |
| tree | 2a69843e6a5fbdb69cf4c4600e5a8693a3c4a708 /box.rb | |
| parent | 7d8c210f1499bce3558f107402f2c7ccf8417e7d (diff) | |
| download | xesite-599712fab9127013e2d89dadabd839c847730637.tar.xz xesite-599712fab9127013e2d89dadabd839c847730637.zip | |
rip out mage
Diffstat (limited to 'box.rb')
| -rw-r--r-- | box.rb | 36 |
1 files changed, 0 insertions, 36 deletions
@@ -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" |
