This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ To get the code:
1111 * Fork https://github.com/domokit/sky_engine into your own GitHub account.
1212 * [ Download depot_tools] ( http://www.chromium.org/developers/how-tos/install-depot-tools )
1313 and make sure it is in your path.
14+ * If you haven't configured your machine with an SSH key that's shared by github then
15+ follow the directions here: https://help.github.com/articles/generating-ssh-keys/ .
1416 * Create a ` .gclient ` file in an empty directory with the following contents:
1517
1618```
@@ -27,7 +29,7 @@ solutions = [
2729target_os = ["android"]
2830```
2931
30- * ` svn ls https://dart.googlecode.com/ ` and accept the certificate permanently.
32+ * If you're on a Mac then: ` svn ls https://dart.googlecode.com/ ` and accept the certificate permanently.
3133 * ` gclient sync `
3234 * ` cd src `
3335 * ` git remote add upstream git@github.com:domokit/sky_engine.git `
Original file line number Diff line number Diff line change 22# Copyright (c) 2013 The Chromium Authors. All rights reserved.
33# Use of this source code is governed by a BSD-style license that can be
44# found in the LICENSE file.
5-
65"""Make a symlink and optionally touch a file (to handle dependencies)."""
7-
8-
96import errno
107import optparse
118import os .path
129import shutil
1310import sys
14-
15-
1611def Main (argv ):
1712 parser = optparse .OptionParser ()
1813 parser .add_option ('-f' , '--force' , action = 'store_true' )
1914 parser .add_option ('--touch' )
20-
2115 options , args = parser .parse_args (argv [1 :])
2216 if len (args ) < 2 :
2317 parser .error ('at least two arguments required.' )
24-
2518 target = args [- 1 ]
2619 sources = args [:- 1 ]
2720 for s in sources :
@@ -39,12 +32,8 @@ def Main(argv):
3932 os .symlink (s , t )
4033 else :
4134 raise
42-
43-
4435 if options .touch :
4536 with open (options .touch , 'w' ) as f :
4637 pass
47-
48-
4938if __name__ == '__main__' :
5039 sys .exit (Main (sys .argv ))
You can’t perform that action at this time.
0 commit comments