Skip to content

Commit a8e5a04

Browse files
authored
Merge pull request swiftlang#29243 from Rostepher/reorganize-build-swift-module
[NFC][Build System: build-script] Re-organized the build_swift module
2 parents 99e60b0 + ff60592 commit a8e5a04

22 files changed

+41
-36
lines changed

utils/build-parser-lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import os
3030
import platform
3131
import sys
3232

33-
from build_swift import argparse, defaults
33+
from build_swift.build_swift import argparse, defaults
3434
from swift_build_support.swift_build_support import (
3535
shell,
3636
xcrun,

utils/build-script

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ import platform
1919
import sys
2020
import time
2121

22-
from build_swift import defaults
23-
from build_swift import driver_arguments
24-
from build_swift import presets
25-
from build_swift.migration import migrate_swift_sdks
22+
from build_swift.build_swift import defaults
23+
from build_swift.build_swift import driver_arguments
24+
from build_swift.build_swift import presets
25+
from build_swift.build_swift.migration import migrate_swift_sdks
2626

2727
from swift_build_support.swift_build_support import (
2828
arguments,

utils/build_swift/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See https://swift.org/LICENSE.txt for license information
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# This source file is part of the Swift.org open source project
2+
#
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
4+
# Licensed under Apache License v2.0 with Runtime Library Exception
5+
#
6+
# See https://swift.org/LICENSE.txt for license information
7+
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors

utils/build_swift/argparse/__init__.py renamed to utils/build_swift/build_swift/argparse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See https://swift.org/LICENSE.txt for license information

utils/build_swift/argparse/actions.py renamed to utils/build_swift/build_swift/argparse/actions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See https://swift.org/LICENSE.txt for license information

utils/build_swift/defaults.py renamed to utils/build_swift/build_swift/defaults.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See http://swift.org/LICENSE.txt for license information

utils/build_swift/driver_arguments.py renamed to utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This source file is part of the Swift.org open source project
22
#
3-
# Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
3+
# Copyright (c) 2014 - 2020 Apple Inc. and the Swift project authors
44
# Licensed under Apache License v2.0 with Runtime Library Exception
55
#
66
# See https://swift.org/LICENSE.txt for license information

0 commit comments

Comments
 (0)