el-get/recipes/diff-git.rcp
Ryan C. Thompson b7b63dfcb4 Convert more recipes to github type
This automated conversion was done with the following sequence of
commands:

    cd recipes
    # Replace :url with :pkgname "user/repo"
    perl -iBAK -lape 's{^(\s*):url\s+".*github.com/([A-Za-z0-9.-]+)/([A-Za-z0-9.-]+)\.git"}{$1:pkgname "$2/$3"}' *.rcp
    # Change :type from git to github if recipe has a :pkgname property
    for x in *.rcp; do if pcregrep -q ":type\s+git\b" $x && grep -q ":pkgname" $x; then perl -iBAK2 -lape 's/:type\s+git(hub)?\b/:type github/g' $x; fi; done
    # Clean up backup files
    rm -f *BAK *BAK2
    cd ..

These commands may be repeated at any time in the future to convert
newly-added recipes.
2012-02-29 09:31:09 -08:00

6 lines
239 B
Plaintext

(:name diff-git
:website "https://github.com/alanfalloon/diff-git.el"
:description "A small emacs extension for working with the git index from within diff-mode"
:type github
:pkgname "alanfalloon/diff-git.el")