Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: build.py

Issue 29372829: Issue 4833 - Enable translations for adblockpluscore (Closed)
Patch Set: Created Jan. 24, 2017, 11:13 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« README.md ('K') | « README.md ('k') | metadata.generic » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # coding: utf-8
3
4 import os
5 import sys
6 import subprocess
7
8 BASE_DIR = os.path.dirname(os.path.abspath(__file__))
9 DEPENDENCY_SCRIPT = os.path.join(BASE_DIR, "ensure_dependencies.py")
10
11 try:
12 subprocess.check_call([sys.executable, DEPENDENCY_SCRIPT, BASE_DIR])
13 except subprocess.CalledProcessError as e:
14 print >>sys.stderr, e
15 print >>sys.stderr, "Failed to ensure dependencies being up-to-date!"
16
17 import buildtools.build
Wladimir Palant 2017/01/24 11:42:45 This will fail - there is no buildtools dependency
kzar 2017/01/25 03:54:19 I thought that too but it turns out there is alrea
18 buildtools.build.processArgs(BASE_DIR, sys.argv)
OLDNEW
« README.md ('K') | « README.md ('k') | metadata.generic » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld