This repository was archived by the owner on Feb 25, 2025. It is now read-only.
File tree 2 files changed +3
-12
lines changed
2 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,8 @@ To get the code:
11
11
* Fork https://github.com/domokit/sky_engine into your own GitHub account.
12
12
* [ Download depot_tools] ( http://www.chromium.org/developers/how-tos/install-depot-tools )
13
13
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/ .
14
16
* Create a ` .gclient ` file in an empty directory with the following contents:
15
17
16
18
```
@@ -27,7 +29,7 @@ solutions = [
27
29
target_os = ["android"]
28
30
```
29
31
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.
31
33
* ` gclient sync `
32
34
* ` cd src `
33
35
* ` git remote add upstream [email protected] :domokit/sky_engine.git `
Original file line number Diff line number Diff line change 2
2
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
3
3
# Use of this source code is governed by a BSD-style license that can be
4
4
# found in the LICENSE file.
5
-
6
5
"""Make a symlink and optionally touch a file (to handle dependencies)."""
7
-
8
-
9
6
import errno
10
7
import optparse
11
8
import os .path
12
9
import shutil
13
10
import sys
14
-
15
-
16
11
def Main (argv ):
17
12
parser = optparse .OptionParser ()
18
13
parser .add_option ('-f' , '--force' , action = 'store_true' )
19
14
parser .add_option ('--touch' )
20
-
21
15
options , args = parser .parse_args (argv [1 :])
22
16
if len (args ) < 2 :
23
17
parser .error ('at least two arguments required.' )
24
-
25
18
target = args [- 1 ]
26
19
sources = args [:- 1 ]
27
20
for s in sources :
@@ -39,12 +32,8 @@ def Main(argv):
39
32
os .symlink (s , t )
40
33
else :
41
34
raise
42
-
43
-
44
35
if options .touch :
45
36
with open (options .touch , 'w' ) as f :
46
37
pass
47
-
48
-
49
38
if __name__ == '__main__' :
50
39
sys .exit (Main (sys .argv ))
You can’t perform that action at this time.
0 commit comments