Last active
August 29, 2015 14:23
-
-
Save myjpa/e8f41b21bb9dfe7d5f73 to your computer and use it in GitHub Desktop.
ember migrations utils and pattern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # now can try this: | |
| # https://github.com/abuiles/ember-watson | |
| # this command replaces all '#each x in y' with '#each y as |x|' under current folder and subfolders | |
| grep -R '#each' * -l | xargs -n1 perl -pi -w -e 's/#each ([\w.]+) in ([\w.]+)/#each $2 as |$1|/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment