Skip to content

Instantly share code, notes, and snippets.

@thebrainroom
Created May 28, 2014 09:33
Show Gist options
  • Save thebrainroom/6b88642b93beb111e7c1 to your computer and use it in GitHub Desktop.
Save thebrainroom/6b88642b93beb111e7c1 to your computer and use it in GitHub Desktop.
Snippet of JSON to add support for Drupal projects in Recents app (http://recents.io). I'm looking for suggestions for the best way to get the active theme name for use as the project name. To enable the Drupal icon add an icon of your choosing by going to "Applications", right click "Recents" and select "show package contents". Now open the "Re…
{
"projectType":"drupal",
"nameRegex":null,
"settingsFile":"sites/default/settings.php",
"image":"drupal.png",
"keyFile":"settings.php",
"projectRootRelativeToKeyFile":"../../../",
"filesExistInRoot":null,
"ignoreIfFilesInRoot":null,
"ignoreIfPathContains":null,
"button1":{
"name":"Editor",
"app":[
"Sublime Text",
"Sublime Text 2",
"Sublime Text 3",
"Coda 2"
],
"arguments":""
},
"button2":{
"name":"Terminal",
"app":[
"iTerm",
"Terminal"
],
"arguments":""
},
"button3":{
"name":"Finder",
"app":[
"Finder"
],
"arguments":""
},
"button4":null
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment