aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libxmi.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/Library/Formula/libxmi.rb b/Library/Formula/libxmi.rb
index 3dc505c20..a96c40d29 100644
--- a/Library/Formula/libxmi.rb
+++ b/Library/Formula/libxmi.rb
@@ -8,9 +8,10 @@ class Libxmi < Formula
bottle do
cellar :any
- sha1 "a78fe7d813f10d8f0f8473beac021676677a0c80" => :mavericks
- sha1 "40b646ef16c03659880d93ca80c3fa2a1589b156" => :mountain_lion
- sha1 "d5cd3ebb9df57a37855282bee6a198859253c50d" => :lion
+ revision 1
+ sha1 "883a10b3f456d9ac39ca1442253a90167157b50c" => :yosemite
+ sha1 "b7d2b8c174df9ac8b9e77aada7efe2e94384a913" => :mavericks
+ sha1 "d21c5eb24647aa5d18f589ab4327c215df6383f6" => :mountain_lion
end
def install
span class="s1">'q-fs'); var Q = require('qq'); function identity($) {return $;} function appCache(path) { if(!path) { return appCacheTemplate(); } var blackList = ["build/docs/offline.html", "build/docs/sitemap.xml", "build/docs/robots.txt", "build/docs/docs-scenario.html", "build/docs/docs-scenario.js", "build/docs/appcache.manifest", "build/docs/.htaccess" ]; var result = ["CACHE MANIFEST", "# " + new Date().toISOString(), "", "# cache all of these", "CACHE:", "../angular.min.js"]; var resultPostfix = ["", "FALLBACK:", "/ /build/docs/index.html", "", "# allow access to google analytics and twitter when we are online", "NETWORK:", "*"]; var promise = fs.listTree(path).then(function(files){ var fileFutures = []; files.forEach(function(file){ fileFutures.push(fs.isFile(file).then(function(isFile){ if (isFile && blackList.indexOf(file) == -1) { return file.replace('build/docs/',''); } })); }); return Q.deep(fileFutures); }).then(function(files){ return result.concat(files.filter(identity)).concat(resultPostfix).join('\n'); }); return promise; } function appCacheTemplate() { return ["CACHE MANIFEST", "# " + new Date().toISOString(), "", "# cache all of these", "CACHE:", "syntaxhighlighter/syntaxhighlighter-combined.js", "../angular.min.js", "docs-combined.js", "docs-keywords.js", "docs-combined.css", "syntaxhighlighter/syntaxhighlighter-combined.css", "img/texture_1.png", "img/yellow_bkgnd.jpg", "", "FALLBACK:", "/ /build/docs/offline.html", "", "# allow access to google analytics and twitter when we are online", "NETWORK:", "*"].join('\n'); }