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

Side by Side Diff: dart/site/try/app.yaml

Issue 133893008: Add GYP build rule for Try Dart! (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address comments from Kasper and Martin Created 6 years, 11 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 # App Engine configuration, see: 5 # App Engine configuration, see:
6 # https://developers.google.com/appengine/docs/python/config/appconfig 6 # https://developers.google.com/appengine/docs/python/config/appconfig
7 7
8 # The version number should be something like rSVN_REVISION.
9 version: remember to edit app.yaml before deploying
10 # This version name is used to create a new host, for example,
11 # http://r31824.try-dart-lang.appspot.com/, which can be tested before going
12 # live at http://try.dartlang.org/. This is controlled from
13 # https://appengine.google.com/deployment?&app_id=s~try-dart-lang
14
8 application: try-dart-lang 15 application: try-dart-lang
9 version: 5-sdk1-0
10 runtime: python27 16 runtime: python27
11 api_version: 1 17 api_version: 1
12 threadsafe: yes 18 threadsafe: yes
19
20 # Set "Cache-Control" and "Expires" HTTP headers to only cache for one second.
21 # We do this because we frequently push new changes and rely on AppCache for
22 # caching. Once files are installed in AppCache, the site launches
23 # immediately.
24 #
25 # Problem: PageSpeed Insights doesn't realize that we use AppCache and keeps
26 # nagging about caching.
27 # Solution: Ignore its advice about "Leverage browser caching".
13 default_expiration: 1s 28 default_expiration: 1s
14 29
15 handlers: 30 handlers:
16 31
17 - url: /favicon\.ico 32 - url: /favicon\.ico
18 static_files: favicon.ico 33 static_files: favicon.ico
19 upload: favicon\.ico 34 upload: favicon\.ico
20 secure: never 35 secure: never
21 36
22 - url: / 37 - url: /
23 static_files: index.html 38 static_files: index.html
24 upload: index.html 39 upload: index.html
25 secure: never 40 secure: never
26 41
27 - url: /nossl.appcache 42 - url: /nossl.appcache
28 static_files: nossl.appcache 43 static_files: nossl.appcache
29 upload: nossl.appcache 44 upload: nossl.appcache
30 secure: never 45 secure: never
31 46
32 - url: /(.*\.(html|js|png|css|dart|json)) 47 - url: /(.*\.(html|js|png|css|dart|json))
33 static_files: \1 48 static_files: \1
34 upload: (.*\.(html|js|png|css|dart|json)) 49 upload: (.*\.(html|js|png|css|dart|json))
35 secure: never 50 secure: never
36 51
37 - url: /css/fonts/ 52 - url: /css/fonts/fontawesome-webfont.woff
38 static_dir: font 53 static_files: fontawesome-webfont.woff
54 upload: fontawesome-webfont.woff
39 secure: never 55 secure: never
40 56
41 error_handlers: 57 - url: .*
42 - file: static/not_found.html 58 static_files: not_found.html
59 upload: not_found.html
60 secure: never
43 61
44 libraries: 62 libraries:
45 - name: webapp2 63 - name: webapp2
46 version: "2.5.2" 64 version: "2.5.2"
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/samples/jsonify/jsonify.dart ('k') | dart/site/try/build_try.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698