Skip to content

Adds .RUN and .RUNFILE attributes#21

Merged
TekWizely merged 1 commit intomasterfrom
issue/20
Jan 5, 2020
Merged

Adds .RUN and .RUNFILE attributes#21
TekWizely merged 1 commit intomasterfrom
issue/20

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