mirror of
https://github.com/textmate/textmate.git
synced 2026-04-06 03:01:29 -04:00
90 lines
3.4 KiB
HTML
90 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
||
<html>
|
||
|
||
<head>
|
||
<meta charset='utf-8' />
|
||
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
|
||
<meta name="description" content="TextMate 2 : TextMate is a graphical text editor for OS X 10.7+" />
|
||
|
||
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
|
||
|
||
<title>TextMate 2</title>
|
||
</head>
|
||
|
||
<body>
|
||
|
||
<!-- HEADER -->
|
||
<div id="header_wrap" class="outer">
|
||
<header class="inner">
|
||
<a id="forkme_banner" href="https://github.com/textmate/textmate">View on GitHub</a>
|
||
|
||
<h1 id="project_title">TextMate 2</h1>
|
||
<h2 id="project_tagline">TextMate is a graphical text editor for OS X 10.7+</h2>
|
||
|
||
<section id="downloads">
|
||
<a class="zip_download_link" href="https://github.com/textmate/textmate/zipball/master">Download this project as a .zip file</a>
|
||
<a class="tar_download_link" href="https://github.com/textmate/textmate/tarball/master">Download this project as a tar.gz file</a>
|
||
</section>
|
||
</header>
|
||
</div>
|
||
|
||
<!-- MAIN CONTENT -->
|
||
<div id="main_content_wrap" class="outer">
|
||
<section id="main_content" class="inner">
|
||
<h2>Building TextMate</h2>
|
||
|
||
<p>To bootstrap the build you need to run <code>./configure</code> (in the root of the source tree). You can set a few (environment) variables read by this script that change the generated build file:</p>
|
||
|
||
<ul>
|
||
<li>
|
||
<code>builddir</code> — location of built files. Defaults to <code>~/build/TextMate</code>.</li>
|
||
<li>
|
||
<code>identity</code> — for Apple’s <code>codesign</code>. Defaults to ad-hoc signing, which does not use an identity at all.</li>
|
||
</ul><p>In the simplest case you would run:</p>
|
||
|
||
<pre><code>git clone https://github.com/textmate/textmate.git
|
||
cd textmate
|
||
git submodule update --init
|
||
./configure && ninja
|
||
</code></pre>
|
||
|
||
<p>Please note that if you downloaded the source code (rather than cloned via git) you likely miss the submodules and the build will therefore fail.</p>
|
||
|
||
<h3>Prerequisites</h3>
|
||
|
||
<p>To build the source the following must first be installed on your system:</p>
|
||
|
||
<ul>
|
||
<li>
|
||
<a href="http://martine.github.com/ninja/">ninja</a> — build system similar to <code>make</code>
|
||
</li>
|
||
<li>
|
||
<a href="http://www.complang.org/ragel/">ragel</a> — state machine compiler</li>
|
||
<li>
|
||
<a href="http://www.boost.org/">boost</a> — portable C++ source libraries</li>
|
||
<li>
|
||
<a href="http://fletcherpenney.net/multimarkdown/">multimarkdown</a> — marked-up plain text compiler</li>
|
||
<li>
|
||
<a href="http://mercurial.selenic.com/">mercurial</a> — distributed SCM system</li>
|
||
<li>[clang 3.2/4.0][] — C, C++, and Objective-C compiler</li>
|
||
<li>
|
||
<a href="http://proctools.sourceforge.net/">proctools</a> (OS 10.7) — <code>pgrep</code> and <code>pkill</code> shell commands</li>
|
||
</ul><h2>Discussions</h2>
|
||
|
||
<p>There is a <a href="http://lists.macromates.com/listinfo/textmate-dev">mailing list</a> and the <a>#textmate</a> IRC channel at <a href="http://freenode.net/">freenode.net</a>.</p>
|
||
</section>
|
||
</div>
|
||
|
||
<!-- FOOTER -->
|
||
<div id="footer_wrap" class="outer">
|
||
<footer class="inner">
|
||
<p class="copyright">TextMate 2 maintained by <a href="https://github.com/textmate">textmate</a></p>
|
||
<p>Published with <a href="http://pages.github.com">GitHub Pages</a></p>
|
||
</footer>
|
||
</div>
|
||
|
||
|
||
|
||
</body>
|
||
</html>
|