ae5d604f978f

Deployment
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Sun, 18 Apr 2021 13:49:33 -0400
parents cfc55aea8bee
children e953b1af4b62
branches/tags (none)
files dark.asd scripts/build.sh scripts/deploy.sh src/main.lisp src/package.lisp

Changes

--- a/dark.asd	Sun Apr 18 13:25:26 2021 -0400
+++ b/dark.asd	Sun Apr 18 13:49:33 2021 -0400
@@ -9,7 +9,6 @@
 
   :depends-on (#+sbcl #:sb-sprof
                :alexandria
-               :beast
                :boots
                :iterate
                :losh)
--- a/scripts/build.sh	Sun Apr 18 13:25:26 2021 -0400
+++ b/scripts/build.sh	Sun Apr 18 13:49:33 2021 -0400
@@ -2,6 +2,7 @@
 
 set -euo pipefail
 
+ban Building
 /usr/local/bin/sbcl \
     --eval '(ql:quickload :dark)' \
     --eval '(dark:build)' \
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/deploy.sh	Sun Apr 18 13:49:33 2021 -0400
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+./scripts/build.sh
+
+ban Deploying
+time rsync -avz build/dark jam:/opt/dark/dark
--- a/src/main.lisp	Sun Apr 18 13:25:26 2021 -0400
+++ b/src/main.lisp	Sun Apr 18 13:49:33 2021 -0400
@@ -1,7 +1,8 @@
 (in-package :dark)
 
 (defun toplevel ()
-  (write-line "Hello, world!"))
+  (write-line "Hello, world!")
+  (write-line "example"))
 
 (defun build ()
   (sb-ext:save-lisp-and-die "build/dark"
--- a/src/package.lisp	Sun Apr 18 13:25:26 2021 -0400
+++ b/src/package.lisp	Sun Apr 18 13:49:33 2021 -0400
@@ -1,3 +1,3 @@
 (defpackage :dark
-  (:use :cl :iterate :losh :beast)
+  (:use :cl :iterate :losh)
   (:export :toplevel :build))