Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Development folder structure on OS X 10.6

Tags:

macos

I have switched to Mac as my main development machine (coming from Fedora) and was just curious as to what people used as there development folder structure. For example in Fedora I always had ~/opt for user programs ~/src for source code I was working on and ~/bin for files I constantly executed. Is there a Mac de facto. What do you guys perfer?

Thanks, Greg

like image 227
wonbyte Avatar asked Oct 19 '10 21:10

wonbyte


People also ask

Where is development folder in Mac?

Since version 4.3 Xcode is a single app in your Application Folder. Before 4.3 Xcode was located in /Developer . That has changed, you can find the "developer folder" inside of the app package. Try cd /Applications/Xcode.

What is the folder structure in Mac?

The root of the hard drive contains things available to all users, such as Applications and components of the System. The directory at the bottom, called Users is where each person's Home is located. Inside the Users folder you will find your (and if you share your computer, others) Home directory.

What file structure does Mac use?

Apple File System (APFS), the default file system for Mac computers using macOS 10.13 or later, features strong encryption, space sharing, snapshots, fast directory sizing, and improved file system fundamentals.

What is development directory?

“The directory of development organizations, listing 53,750 development organizations, has been prepared to facilitate international cooperation and knowledge sharing in development work, both among civil society organizations, research institutions, governments and the private sector.“ (


3 Answers

I use the directory ~/Developer as the root of my development-related files. Inside that I have ~/Developer/Code for code snippets, tutorial code, test ideas, etc. I have a ~/Developer/Projects directory to hold in-development projects. This contains a few subdirectories, including Archives for projects I've abandoned, and Current for current development work. ~/Projects is also a symlink to ~/Developer/Projects/Current.

like image 161
mipadi Avatar answered Oct 15 '22 10:10

mipadi


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

like image 5
rsml1729 Avatar answered Oct 15 '22 11:10

rsml1729


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

like image 2
Nick Moore Avatar answered Oct 15 '22 09:10

Nick Moore