Skip to content

Commit 367680b

Browse files
author
Adam Simpson
committed
refactor: remove standalone package files and move those inline
1 parent 733c123 commit 367680b

File tree

6 files changed

+17
-21
lines changed

6 files changed

+17
-21
lines changed

cycle-dev-package.lisp

Lines changed: 0 additions & 6 deletions
This file was deleted.

cycle-dev.asd

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,4 @@
66
:serial t
77
:depends-on (:cycle
88
:sqlite)
9-
:components ((:file "cycle-dev-package")
10-
(:file "cycle-dev")))
9+
:components ((:file "cycle-dev")))

cycle-dev.lisp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
;;;; cycle-dev.lisp
22
(require "asdf")
33

4+
(defpackage :cycle-dev
5+
(:use
6+
:cl
7+
:cycle))
8+
49
(in-package :cycle-dev)
510

611
(when (uiop:file-exists-p "BLOG")

cycle.asd

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description "A opinionated static site builder."
55
:author "Adam Simpson <adam@adamsimpson.net>"
66
:license "GNU GPLv3"
7-
:version "0.2.7"
7+
:version "0.2.8"
88
:serial t
99
:depends-on (
1010
:local-time
@@ -14,7 +14,6 @@
1414
:3bmd
1515
:3bmd-ext-code-blocks
1616
:unix-opts)
17-
:components ((:file "package")
18-
(:file "cycle"))
17+
:components ((:file "cycle"))
1918
:build-pathname "cycle"
2019
:entry-point "cycle:main")

cycle.lisp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
;;;; cycle.lisp
22
(require "asdf")
33

4+
(defpackage :cycle
5+
;;https://lisp-lang.org/style-guide/#one-package-per-file
6+
(:use :cl)
7+
(:export
8+
:main
9+
:write-file
10+
:split-string
11+
:file-basename))
12+
413
(in-package :cycle)
514

615
(defvar posts nil "Global posts variable.")

package.lisp

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)