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

Adds .RUN and .RUNFILE attributes #21

Merged
merged 1 commit into from
Jan 5, 2020
Merged

Adds .RUN and .RUNFILE attributes #21

merged 1 commit into from
Jan 5, 2020

Conversation

TekWizely
Copy link
Owner

Adds .RUN and .RUNFILE attributes to make it possible to invoke other commands / runfiles from within your command script.

Runfile

##
# Invokes hello
# EXPORT RUN := ${.RUN}
# EXPORT RUNFILE := ${.RUNFILE}
test:
    "${RUN}" -r "${RUNFILE}" hello
hello:
    echo "Hello, World"

output

$ run test

Hello, World

Fixes #20

@TekWizely TekWizely merged commit 4cd9fd0 into master Jan 5, 2020
@TekWizely TekWizely deleted the issue/20 branch January 5, 2020 20:27
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.

Request: Simple Means of invoking another runfile command from within a runfile script
1 participant