Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pack.sh, *.asd: change commented-out :version lines, comment them out #3

Merged
merged 1 commit into from
Mar 24, 2015

Conversation

markhdavid
Copy link

This addresses the issue

#2

Commit log:

pack.sh: previously, pack.sh would change a line like

:version "$VERSION"

to

:version "0.1.5"

(or whatever the version actually is). Now, it looks for a
commented-out line of the same code, and does the same substitution
while uncommenting the code.

This lets you keep the line with "$VERSION$", which is not a valid
version, commented out, while not running afoul of introspection tools
(e.g., uiop/utility:parse-version).

*.asd: comment out :version lines to work with this new pack.sh

pack.sh: previously, pack.sh would change a line like

  :version "$VERSION"

to

  :version "0.1.5"

(or whatever the version actually is). Now, it looks for a
commented-out line of the same code, and does the same substitution
while uncommenting the code.

This lets you keep the line with "$VERSION$", which is not a valid
version, commented out, while not running afoul of introspection tools
(e.g., uiop/utility:parse-version).

*.asd: comment out :version lines to work with this new pack.sh
@fjolliton
Copy link
Owner

Clever. Thanks for the patch.

fjolliton added a commit that referenced this pull request Mar 24, 2015
pack.sh, *.asd: change commented-out :version lines, comment them out
@fjolliton fjolliton merged commit 0fda45f into fjolliton:master Mar 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants