Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions command-line.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@
(unless (output plan)
(error 'missing-output-argument))
(setf (asdf-directives plan) (reverse (asdf-directives plan)))
(describe plan)
(return plan))
(let* ((argument (pop args))
(value (pop args))
Expand Down Expand Up @@ -162,7 +163,3 @@
(setf (dynamic-space-size plan) (parse-integer value)))
(t
(error 'unknown-argument :flag argument)))))))




8 changes: 8 additions & 0 deletions tests/runtime-args-test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

THIS_DIR=$(realpath $(dirname ${BASH_SOURCE}))
BUILDAPP=${BUILDAPP:-buildapp}


${BUILDAPP} --output test-app --dynamic-space-size 100000 --asdf-path ${THIS_DIR}/ --load-system test-system --entry 'cl-user::main' --dumpfile-copy ./dumpfile.lisp

6 changes: 6 additions & 0 deletions tests/src.lisp
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(in-package :cl-user)

(defun main (argv)
(declare (ignore argv))
(format t "~&This is the test application~%")
(uiop:quit 0))
2 changes: 2 additions & 0 deletions tests/test-system.asd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
(defsystem test-system
:components ((:file "src")))