b82383953d
- Make the build deterministic Bug: https://github.com/dart-lang/sdk/issues/55995 Change-Id: Ic800dd66f23bc402dfede09db3f67f01aa82d29d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373360 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Ryan Macnak <rmacnak@google.com>
20 lines
527 B
Python
20 lines
527 B
Python
# Copyright (c) 2024, the Dart project authors. Please see the AUTHORS file
|
|
# for details. All rights reserved. Use of this source code is governed by a
|
|
# BSD-style license that can be found in the LICENSE file.
|
|
|
|
import subprocess
|
|
import utils
|
|
import sys
|
|
|
|
|
|
def Main():
|
|
p = subprocess.Popen(['git', 'show', '--no-patch', '--format=%ct'],
|
|
shell=utils.IsWindows(),
|
|
cwd=utils.DART_DIR)
|
|
p.communicate()
|
|
return p.wait()
|
|
|
|
|
|
if __name__ == '__main__':
|
|
sys.exit(Main())
|