Lines Matching refs:os

16 import os
22 project_path = os.path.abspath(argv[1])
23 target_out_path = os.path.abspath(argv[2])
24 nodejs_path = os.path.abspath(argv[3])
25 js2bundle_path = os.path.abspath(argv[4])
26 interface_path = os.path.abspath(argv[5])
27 parse5_path = os.path.abspath(argv[6])
28 weex_loader_path = os.path.abspath(argv[7])
30 buildEnv = os.environ
33 interface_target_path = os.path.join(target_out_path, "interface")
34 if os.path.exists(interface_target_path):
38 third_party_target_path = os.path.join(target_out_path, "third_party")
39 if os.path.exists(third_party_target_path):
41 os.makedirs(third_party_target_path);
43 parse5_target_path = os.path.join(third_party_target_path, "parse5")
46 weex_loader_target_path = os.path.join(third_party_target_path, "weex-loader")
49 js2bundle_target_path = os.path.join(target_out_path, "developtools")
50 if os.path.exists(js2bundle_target_path):
52 os.makedirs(js2bundle_target_path);
53 js2bundle_target_path = os.path.join(js2bundle_target_path, "ace_js2bundle")
55 js2bundle_target_path = os.path.join(js2bundle_target_path, "ace-loader")
56 os.chdir(js2bundle_target_path)
58 js2bundle_node_modules_target_path = os.path.join(js2bundle_target_path, "node_modules")
59 if not os.path.exists(js2bundle_node_modules_target_path):
62 target_i18n_path = os.path.join(js2bundle_target_path, "sample", "rich", "i18n")
63 if os.path.exists(target_i18n_path):
65 source_i18n_path = os.path.join(project_path, "i18n")
66 if os.path.exists(source_i18n_path):
69 target_common_path = os.path.join(js2bundle_target_path, "sample", "rich", "common")
70 if os.path.exists(target_common_path):
72 source_common_path = os.path.join(project_path, "common")
73 if os.path.exists(source_common_path):
76 target_index_path = os.path.join(js2bundle_target_path, "sample", "rich", "pages", "index")
78os.path.join(project_path, "pages", "index", "index.css"), os.path.join(target_index_path, "index.…
80os.path.join(project_path, "pages", "index", "index.hml"), os.path.join(target_index_path, "index.…
82os.path.join(project_path, "pages", "index", "index.js"), os.path.join(target_index_path, "index.j…
87 target_build_path = os.path.join(js2bundle_target_path, "sample", "rich", "build")
88 target_build_dest_path = os.path.join(target_out_path, "default")
89 if os.path.exists(target_build_dest_path):