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
This file creates and mounts a ramdisk on OS X (10.5+, I believe) | |
Handy for setting up test environments. I use it for git like so: | |
device=`ramdisk 250 Git_Test` | |
export GIT_TEST_OPTS='--root=/Volumes/Git_Test' | |
make test | |
hdiutil detach $device |
NewerOlder