From da76e474ce772457613f6cefc8041f5677e1b487 Mon Sep 17 00:00:00 2001 From: "Rico Sta. Cruz" Date: Mon, 27 Apr 2015 10:47:47 +0800 Subject: [PATCH] Add drafts --- {Etc => _deprecated}/PHP_Kohana.ctxt | 0 {Etc => _deprecated}/Rails_2.ctxt | 0 _drafts/homebrew-formula.md | 19 +++++++++++++++++++ 3 files changed, 19 insertions(+) rename {Etc => _deprecated}/PHP_Kohana.ctxt (100%) rename {Etc => _deprecated}/Rails_2.ctxt (100%) create mode 100644 _drafts/homebrew-formula.md diff --git a/Etc/PHP_Kohana.ctxt b/_deprecated/PHP_Kohana.ctxt similarity index 100% rename from Etc/PHP_Kohana.ctxt rename to _deprecated/PHP_Kohana.ctxt diff --git a/Etc/Rails_2.ctxt b/_deprecated/Rails_2.ctxt similarity index 100% rename from Etc/Rails_2.ctxt rename to _deprecated/Rails_2.ctxt diff --git a/_drafts/homebrew-formula.md b/_drafts/homebrew-formula.md new file mode 100644 index 000000000..ae654169c --- /dev/null +++ b/_drafts/homebrew-formula.md @@ -0,0 +1,19 @@ +--- +title: Homebrew formula +--- + +brew create http://example.com/foo-0.1.tar.gz + +https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Formula-Cookbook.md#formula-cookbook + + assert(this.ary.indexOf(zero) === two) + + +``` +def install + system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + system "make", "install" + cd "build/cmake" + mv "a", "b" +end +```