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:
Let's say you want a Walkfile that installs homebrew taps:
Now, I want to do something like this:
walk
is going to look in a directory calledcaskroom
and execute thecask.tap
target. Maybe we should allow escaping slashes to indicate that it's not really a directory: