This commit is contained in:
Cheng Zhao 2013-08-21 21:24:18 +08:00
parent 4914dd67b6
commit e8ecbec3a7
2 changed files with 4 additions and 4 deletions

View file

@ -41,12 +41,12 @@ def main():
rm_rf(DIST_DIR)
os.makedirs(DIST_DIR)
# force_build()
# copy_binaries()
force_build()
copy_binaries()
copy_headers()
copy_license()
create_version()
# create_zip()
create_zip()
create_header_tarball()

View file

@ -40,7 +40,7 @@ def dist_newer_than_head():
try:
head_time = subprocess.check_output(['git', 'log', '--pretty=format:%at',
'-n', '1']).strip()
dist_time = os.path.getmtime(os.path.join(SOURCE_ROOT, 'atom-shell.zip'))
dist_time = os.path.getmtime(os.path.join(DIST_DIR, 'atom-shell.zip'))
except OSError as e:
if e.errno != errno.ENOENT:
raise