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

Side by Side Diff: tool/build_sdk.sh

Issue 1643523008: fix #43, remove => workaround (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « test/codegen/expect/collection/src/wrappers.txt ('k') | tool/node_test.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 set -e 2 set -e
3 # switch to the root directory of dev_compiler 3 # switch to the root directory of dev_compiler
4 cd $( dirname "${BASH_SOURCE[0]}" )/.. 4 cd $( dirname "${BASH_SOURCE[0]}" )/..
5 5
6 echo "*** Patching SDK" 6 echo "*** Patching SDK"
7 dart -c tool/patch_sdk.dart tool/input_sdk tool/generated_sdk 7 dart -c tool/patch_sdk.dart tool/input_sdk tool/generated_sdk
8 8
9 echo "*** Compiling SDK to JavaScript" 9 echo "*** Compiling SDK to JavaScript"
10 10
11 # TODO(ochafik): Re-enable named params destructuring when Atom supports it 11 # TODO(ochafik): Re-enable named params destructuring when Atom supports it
12 # (see https://github.com/dart-lang/dev_compiler/issues/396) 12 # (see https://github.com/dart-lang/dev_compiler/issues/396)
13 dart -c bin/dartdevc.dart --no-source-maps --arrow-fn-bind-this --sdk-check \ 13 dart -c bin/dartdevc.dart --force-compile --no-source-maps --sdk-check \
14 --force-compile -l warning --dart-sdk tool/generated_sdk -o lib/runtime/ \ 14 -l warning --dart-sdk tool/generated_sdk -o lib/runtime/ \
15 --no-destructure-named-params \ 15 --no-destructure-named-params \
16 "$@" \ 16 "$@" \
17 dart:_runtime \ 17 dart:_runtime \
18 dart:_debugger \ 18 dart:_debugger \
19 dart:js dart:mirrors dart:html \ 19 dart:js dart:mirrors dart:html \
20 > tool/sdk_expected_errors.txt || true 20 > tool/sdk_expected_errors.txt || true
OLDNEW
« no previous file with comments | « test/codegen/expect/collection/src/wrappers.txt ('k') | tool/node_test.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698