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

OwlProgram executable #35

Open
pingdynasty opened this issue Feb 29, 2016 · 3 comments
Open

OwlProgram executable #35

pingdynasty opened this issue Feb 29, 2016 · 3 comments

Comments

@pingdynasty
Copy link
Collaborator

It would be great to have the OwlProgram functionality wrapped up as a script or executable that you can run from anywhere (Oli's suggestion).

It's easy to put together a simple bash script, e.g.

SRC=$PWD # current working directory
PATCH=$1 # first command line argument to script is the patch name
TARGET=$2 # second argument is target, e.g. run
OWLPROGRAM=/some/where/OwlProgram
cd $OWLPROGRAM && make PATCHSOURCE=$SRC PATCH=$PATCH $TARGET

But a more robust solution that handles more options would be far better.

@giuliomoro
Copy link
Collaborator

Happy to do this, I like programming in languages that are not programming languages, like bash or matlab :P

@giuliomoro
Copy link
Collaborator

@olilarkin check this out 3843083 , with regard to #38

@giuliomoro
Copy link
Collaborator

giuliomoro commented Jul 29, 2016

You can pass any options to make (use quotes as appropriate (i.e.: don't use spaces)):

$ Owl PatchName [target(s) and/or other parameters to make]

target defaults to run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants