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

Ability to escape slashes #20

Open
ejholmes opened this issue Jan 26, 2017 · 0 comments
Open

Ability to escape slashes #20

ejholmes opened this issue Jan 26, 2017 · 0 comments

Comments

@ejholmes
Copy link
Owner

Let's say you want a Walkfile that installs homebrew taps:

#!/bin/bash

phase=$1
target=$2

case $target in
  *.tap)
    case $phase in
      exec) brew tap ${target%.tap} ;;
    esac ;;
esac

Now, I want to do something like this:

walk caskroom/cask.tap

walk is going to look in a directory called caskroom and execute the cask.tap target. Maybe we should allow escaping slashes to indicate that it's not really a directory:

walk caskroom\/cask.tap
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

No branches or pull requests

1 participant