require 'formula' class Cppunit < Formula homepage 'http://sourceforge.net/apps/mediawiki/cppunit/' url 'http://downloads.sourceforge.net/project/cppunit/cppunit/1.12.1/cppunit-1.12.1.tar.gz' sha1 'f1ab8986af7a1ffa6760f4bacf5622924639bf4a' option :universal def patches DATA end def install ENV.universal_binary if build.universal? system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end end # configure script is broken, the final rm -f fails because it tries to file # delete a directory. superenv exposes this bug for some reason, but std-env # does not. Weird. __END__ diff --git a/configure b/configure index 424eea6..11e73ad 100755 --- a/configure +++ b/configure @@ -23318,5 +23318,5 @@ echo X/* automatically generated */ | echo "$as_me: error: input file $ac_prefix_conf_IN does not exist, skip generating $ac_prefix_conf_OUT" >&2;} { (exit 1); exit 1; }; } fi - rm -f conftest.* + rm -f conftest.* || true fi >nganimate-docs-at-symbol-HTML-entity-to-character
aboutsummaryrefslogtreecommitdiffstats
path: root/docs/src/templates/docs-scenario.html
blob: 2eca5f87210a7f712813851b7efe37f1ce3cfdb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<!DOCTYPE HTML>
<html xmlns:ng="http://angularjs.org">
<head>
  <title>AngularJS Docs E2E Test Runner</title>
  <script>
    var production = location.hostname === 'docs.angularjs.org',
        headEl = document.head,
        angularVersion = {
          current: '"NG_VERSION_FULL"', // rewrite during build
          cdn: '"NG_VERSION_CDN"'
        };

    addTag('script', {src: path('angular-scenario.js')}, function() {
      addTag('script', {src: 'docs-scenario.js'}, function() {
        angular.scenario.setUpAndRun();
      });
    });

    function addTag(name, attributes, callback) {
      var el = document.createElement(name),
          attrName;

      for (attrName in attributes) {
        el.setAttribute(attrName, attributes[attrName]);
      }

      if (callback) {
        el.onload = callback;
      }

      headEl.appendChild(el);
    }


    function path(name) {
      return production
          ? 'http://code.angularjs.org/' + angularVersion.cdn + '/' + name
          : '../' + name;
    }
  </script>
</head>
<body>
</body>
</html>