Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Unified Diff: samples/pond/build_pond.sh

Issue 10204007: Remove many things that depend on frog. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples/dartboard/dartboard.html ('k') | samples/pond/compiler.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/pond/build_pond.sh
===================================================================
--- samples/pond/build_pond.sh (revision 6866)
+++ samples/pond/build_pond.sh (working copy)
@@ -1,36 +0,0 @@
-#!/bin/bash
-#
-# Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
-# for details. All rights reserved. Use of this source code is governed by a
-# BSD-style license that can be found in the LICENSE file.
-#
-
-function frog_build {
- local infile=$1;
- local outfile="$infile.js";
- local backup=".$file.old";
- [ -f $outfile ] && cp $outfile $backup;
- ../../frog/minfrog --out=$outfile --compile-only $infile
- if [ -f $backup ]; then
- if `diff $outfile $backup -q > /dev/null`; then
- echo " - $outfile remains unchanged ";
- else
- echo " - $outfile was updated ";
- fi;
- rm $backup;
- fi
-}
-
-# Rebuild pond and the compiler isolate using minfrog
-frog_build pond.dart
-frog_build compiler.dart
-
-# Build the editors module
-cat codemirror/lib/codemirror.js \
- codemirror/mode/dart/dart.js \
- codemirror/mode/htmlmixed/htmlmixed.js \
- codemirror/mode/xml/xml.js \
- codemirror/mode/javascript/javascript.js \
- codemirror/mode/css/css.js \
- codemirror/mode/diff/diff.js \
- editors.js > editors_module.js
« no previous file with comments | « samples/dartboard/dartboard.html ('k') | samples/pond/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698