File tree 4 files changed +4
-8
lines changed
4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
1
// swift-tools-version: 5.9
2
2
3
- import Foundation
4
3
import PackageDescription
5
4
6
5
let gccIncludePrefix =
7
6
" /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1 "
8
- guard let home = ProcessInfo ( ) . environment [ " HOME " ] else {
7
+ guard let home = Context . environment [ " HOME " ] else {
9
8
fatalError ( " could not determine home directory " )
10
9
}
11
10
Original file line number Diff line number Diff line change 1
1
// swift-tools-version: 5.9
2
2
3
- import Foundation
4
3
import PackageDescription
5
4
6
5
let gccIncludePrefix =
7
6
" /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1 "
8
- guard let home = ProcessInfo ( ) . environment [ " HOME " ] else {
7
+ guard let home = Context . environment [ " HOME " ] else {
9
8
fatalError ( " could not determine home directory " )
10
9
}
11
10
Original file line number Diff line number Diff line change 1
1
// swift-tools-version: 5.9
2
2
3
- import Foundation
4
3
import PackageDescription
5
4
6
5
let gccIncludePrefix =
7
6
" /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1 "
8
- guard let home = ProcessInfo ( ) . environment [ " HOME " ] else {
7
+ guard let home = Context . environment [ " HOME " ] else {
9
8
fatalError ( " could not determine home directory " )
10
9
}
11
10
Original file line number Diff line number Diff line change 1
1
// swift-tools-version: 5.9
2
2
3
- import Foundation
4
3
import PackageDescription
5
4
6
5
let gccIncludePrefix =
7
6
" /usr/local/playdate/gcc-arm-none-eabi-9-2019-q4-major/lib/gcc/arm-none-eabi/9.2.1 "
8
- guard let home = ProcessInfo . processInfo . environment [ " HOME " ] else {
7
+ guard let home = Context . environment [ " HOME " ] else {
9
8
fatalError ( " could not determine home directory " )
10
9
}
11
10
You can’t perform that action at this time.
0 commit comments