{"issue":{"created_at":"2011-09-15T07:41:19Z","state":"open","updated_at":"2011-12-11T20:00:09Z","user":{"gravatar_id":"48cb4fddeee69110b0dff4eae2f95085","id":186381,"url":"https://api.github.com/users/zemanel","avatar_url":"https://secure.gravatar.com/avatar/48cb4fddeee69110b0dff4eae2f95085?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"zemanel"},"comments":1,"body":"Although being aware that Cake is meant to be simple and effective, have been wondering on how (and if it would be advantageous for the community) to allow developers to get more out of Cake, as in get more features and getting things done faster, common re-usable tasks/project recipes, etc, on top of Cake.\r\n\r\nWhat i'm looking at is community “recipes”, something along the lines of Fabric, zc.buildout or even [OSX] Homebrew. A Cakefile would still be a list of tasks. Possibly the developer would have access to the “recipes” by requiring one of more modules:\r\n\r\n```javascript\r\n// Cakefile; Import connect-express recipes\r\nrequire \"cakery/recipes/connect-express\"\r\n\r\ntask 'say:hello', 'Description of task', ->\r\n  console.log 'Hello World!'\r\n```\r\n\r\nCalling cake on the shell, with this Cakefile would list the “inherited” recipes:\r\n\r\n```bash\r\n$ cake\r\n\r\ncake express:new-project    # Bootstap a new project\r\ncake express:clean # Clean project\r\ncake express:build # Build the project\r\ncake express:compress # Compress CSS/Js Assets\r\ncake say:hello    # Description of task\r\n```\r\n\r\nFor example, dropping this Cakefile on an empy folder and calling:\r\n\r\n```bash\r\n$ cake express:new-project\r\n```\r\n\r\nwould instantly bake a new barebone project layout. Other use cases would be also deployment (ssh support?) :\r\n\r\n```bash\r\n$ cake staging:deploy\r\n```\r\n\r\nIt could be called Cakery :-) and it may probably something that was already thought, just wondering. What’s your opinion ?","assignee":null,"id":1650768,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":1700,"title":"Getting more out of Cake with Cakery","html_url":"https://github.com/jashkenas/coffee-script/issues/1700","closed_at":null,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/1700","milestone":null},"action":"created","comment":{"created_at":"2011-12-11T20:00:09Z","updated_at":"2011-12-11T20:00:09Z","user":{"gravatar_id":"701391170eb195c85b9fd3d1d06d9b5e","id":67230,"url":"https://api.github.com/users/hugojosefson","avatar_url":"https://secure.gravatar.com/avatar/701391170eb195c85b9fd3d1d06d9b5e?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"hugojosefson"},"body":"I found this by guessing and googling <code>cakefile recipes</code>, looking for just something like this. Cakery looks very interesting! Seems to solve the problem with too large Cakefiles, and copy-pasting between them. @zemanel, have you had any response from any direction yet?","id":3099260,"url":"https://api.github.com/repos/jashkenas/coffee-script/issues/comments/3099260"}}