Skip to content

Commit

Permalink
Merge pull request #6 from 40ants/fix-dynamic
Browse files Browse the repository at this point in the history
Allow to use dynamic-space-size from Roswell config.
  • Loading branch information
svetlyak40wt authored Dec 14, 2024
2 parents d755e52 + 0dd10c3 commit 0dd93a8
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions roswell/40ants-linter.ros
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
#!/bin/sh
#|-*- mode:lisp -*-|#
#|
DYNAMIC_SPACE_SIZE=${DYNAMIC_SPACE_SIZE:-1Gb}
exec ros dynamic-space-size=$DYNAMIC_SPACE_SIZE -Q -- $0 "$@"
if [ "${DYNAMIC_SPACE_SIZE}" != "" ]; then
OPTS="dynamic-space-size=${DYNAMIC_SPACE_SIZE}"
else
OPTS=""
fi
exec ros ${OPTS} -Q -- $0 "$@"
|#
(progn ;;init forms
(ros:ensure-asdf)
Expand Down

0 comments on commit 0dd93a8

Please sign in to comment.