/ Published in: Emacs Lisp
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
(defun xcode-compile () (interactive) (if (directory-files "." nil ".*\.xcodeproj$" nil) (compile "xcodebuild -configuration Debug") ;else (progn (cd "../") (xcode-compile))))