Development folder structure on OS X 10.6

I switched to Mac as my main development machine (from Fedora), and I was curious what people used as a development folder structure. For example, in Fedora, I always had ~ / opt for user programs ~ / src for the source code I was working on, and ~ / bin for files that I was constantly running. There is a Mac de facto. What are you guys translating?

Thanks Greg

+4
source share
4 answers

I have 3 folders at home:

Sandbox - my source code verification checks

Dev - projects that are not in version control (tests, experiments, etc.)

3rdPartyDev - third-party code that I downloaded and want to support

I try to support as much third-party code as possible. Thanks to Mac Spotlight, you can instantly search all the code. If there is an API, I need to see some sample code for, I just Spotlight for it and most likely some code out there already uses it.

0
source

I use the ~/Developer directory as the root of my development related files. Inside, I have ~/Developer/Code for code snippets, tutorial code, test ideas, etc. I have a ~/Developer/Projects directory for storing development projects. This contains several subdirectories, including Archives for the projects that I left, and Current for the current development work. ~/Projects also a symbolic link to ~/Developer/Projects/Current .

+2
source

I have a big dirty folder called "code" full of Xcode projects.

+1
source

To add to @mipadi, after a recent new installation of OSX 10.10.2 (Yosemite), I noticed that if you create the ~/Developer folder, this folder will automatically receive a special folder icon (with a hammer on it). This property seems to be an artifact of older versions of Xcode, in which it will automatically create a folder for you.

+1
source

All Articles