Created
April 11, 2012 07:40
-
-
Save joekarma/2357643 to your computer and use it in GitHub Desktop.
A minor init file modification to make quickproject more convenient for git users.
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
(ql:quickload '(:quickproject | |
:external-program)) | |
(push | |
(lambda (pathname &rest args) | |
(setf (current-directory) (fad:pathname-as-directory pathname)) | |
(rename-file "README.txt" "README.markdown") | |
(external-program:run "git" | |
(list "init" ".")) | |
(external-program:run "git" | |
(list "add" ".")) | |
(external-program:run "git" | |
(list "commit" "-m" "Initial commit"))) | |
quickproject:*after-make-project-hooks*) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment