Commit Graph

20 Commits

Author SHA1 Message Date
Allan Odgaard
e4fcd7987f Update release notes styling
Thanks to Khadgar (irc nick) for this!
2012-08-28 12:54:26 +02:00
Allan Odgaard
7e186a8283 Documentation: Wrap keys in a keyEquivalent class 2012-08-27 19:29:50 +02:00
Allan Odgaard
15bfe9fc9c Let build rules depend on their tool 2012-08-27 01:03:17 +02:00
Allan Odgaard
c0de81d943 Label the build.ninja target
This is to prettify the build output (for the cases where build.ninja needs to be regenerated).
2012-08-25 02:06:22 +02:00
Allan Odgaard
12a1d86735 Add upload targets for executables
This is to make it easy to push test programs.
2012-08-22 18:24:41 +02:00
Allan Odgaard
69196f58f3 Add missing dependencies to debug targets 2012-08-21 20:24:06 +02:00
Allan Odgaard
d737efd7e1 Generalize bin/upload
It now takes key path and destination (github repostiory) as arguments. The generated build.ninja assumes the user local build.ninja sets these variables.
2012-08-20 15:44:47 +02:00
Allan Odgaard
95a9ab8561 Improve error reporting in gen_build
This is for the case where the user is missing targets (e.g. did not checkout submodules).
2012-08-20 15:44:47 +02:00
Allan Odgaard
a463e8f621 Let build.ninja include $USER.ninja (if it exists)
User specific settings and rules can go into this file.
2012-08-20 15:44:47 +02:00
Allan Odgaard
7f177f1345 Introduce test targets that always run
This means having a test file open (in TextMate) and using ⌘B, the test will always run, even if it has previously succeeded and none of the test’s dependencies have been updated.
2012-08-18 15:30:24 +02:00
Allan Odgaard
7f68e1a8e5 Download URL now taken from the GitHub response
Previously it was based on a hardcoded URL template. This also adds an extra check on the GitHub response, to see if we actually got a URL back.
2012-08-18 15:30:23 +02:00
Allan Odgaard
8a5fb16367 Let configure create DefaultBundles.tbz
Motivated by a lot of “where is the syntax highlight?” questions from users that build from source, we now always create the DefaultBundles.tbz (if it doesn’t exist).
2012-08-16 11:46:15 +02:00
Allan Odgaard
218551185b Add gdb targets to build.ninja
Since ninja run each build job with its own stdin/out/err we can’t launch gdb itself in a build job, so we use osascript to launch gdb in a new window.

I used Terminal for this only because it is simpler to script than iTerm2.
2012-08-15 23:23:24 +02:00
Allan Odgaard
b7174fafa0 Add phoney target for deploying
The nightly builds still require me to manually run the ‘TextMate/deploy’ target, so if we can make it 9 characters shorter, it’s totally worth it! :)
2012-08-15 00:33:33 +02:00
Allan Odgaard
0cedb7f3ab Specifically call platform’s tsort.
This fixes issue #102 where user has a ‘tsort’ not supporting the ‘-q’ option in his PATH (before the platform version).
2012-08-12 22:30:49 +02:00
Allan Odgaard
2ff7684eda Order build rules based on dependencies.
Previously we wrote out the build rules alphabetically and grouped by target type. So e.g. the build rule for a framework would be created before that of an application bundle.

While it worked, it didn’t allow e.g. the preferences framework to depend on the mate executables (for copying to its resources section) since the build rules for mate would be created after that of the preferences framework.

We now do a topological sort on the dependency graph (by shelling out to ‘tsort’) to make the build system more flexible.
2012-08-12 16:07:29 +02:00
Allan Odgaard
2ac005815b Upload to GitHub instead of S3.
Technically GitHub is backed by S3 (shielded by a CDN), but now all releases also go to the Downloads section of GitHub.
2012-08-10 18:30:35 +02:00
Allan Odgaard
e8bad0d669 Quote compiler variables.
This is incase user has clang installed e.g. under /Applications/Xcode 4.5.app/…

Fixes issue #29.
2012-08-09 22:33:18 +02:00
Aaron Brethorst
0462b4a18b Hardcode Ruby scripts to use the Apple-provided version of MRI 1.8 since rdoc/usage is missing in 1.9 2012-08-09 10:04:23 -07:00
Allan Odgaard
9894969e67 Initial commit 2012-08-09 16:25:56 +02:00