Skip to content

Commit a30faed

Browse files
committed
Move scripts to a hidden folder
1 parent a426cc7 commit a30faed

File tree

7 files changed

+41
-37
lines changed

7 files changed

+41
-37
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- name: Run Tests
2020
run: |
21-
Scripts/test.sh -s "Nuke" -d "OS=17.4,name=iPhone 15 Pro"
22-
Scripts/test.sh -s "NukeUI" -d "OS=17.4,name=iPhone 15 Pro"
23-
Scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=iPhone 15 Pro"
21+
.scripts/test.sh -s "Nuke" -d "OS=17.4,name=iPhone 15 Pro"
22+
.scripts/test.sh -s "NukeUI" -d "OS=17.4,name=iPhone 15 Pro"
23+
.scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=iPhone 15 Pro"
2424
macos-latest:
2525
name: Unit Tests (macOS, Xcode 15.3)
2626
runs-on: macOS-14
@@ -30,9 +30,9 @@ jobs:
3030
- uses: actions/checkout@v2
3131
- name: Run Tests
3232
run: |
33-
Scripts/test.sh -s "Nuke" -d "platform=macOS"
34-
Scripts/test.sh -s "NukeUI" -d "platform=macOS"
35-
Scripts/test.sh -s "NukeExtensions" -d "platform=macOS"
33+
.scripts/test.sh -s "Nuke" -d "platform=macOS"
34+
.scripts/test.sh -s "NukeUI" -d "platform=macOS"
35+
.scripts/test.sh -s "NukeExtensions" -d "platform=macOS"
3636
tvos-latest:
3737
name: Unit Tests (tvOS 17.4, Xcode 15.3)
3838
runs-on: macOS-14
@@ -42,9 +42,9 @@ jobs:
4242
- uses: actions/checkout@v2
4343
- name: Run Tests
4444
run: |
45-
Scripts/test.sh -s "Nuke" -d "OS=17.4,name=Apple TV"
46-
Scripts/test.sh -s "NukeUI" -d "OS=17.4,name=Apple TV"
47-
Scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=Apple TV"
45+
.scripts/test.sh -s "Nuke" -d "OS=17.4,name=Apple TV"
46+
.scripts/test.sh -s "NukeUI" -d "OS=17.4,name=Apple TV"
47+
.scripts/test.sh -s "NukeExtensions" -d "OS=17.4,name=Apple TV"
4848
# There is a problem with watchOS runners where they often fail to launch on CI
4949
#
5050
# watchos-latest:
@@ -56,9 +56,9 @@ jobs:
5656
# - uses: actions/checkout@v2
5757
# - name: Run Tests
5858
# run: |
59-
# Scripts/test.sh -s "Nuke" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
60-
# Scripts/test.sh -s "NukeUI" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
61-
# Scripts/test.sh -s "Nuke Extensions" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
59+
# .scripts/test.sh -s "Nuke" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
60+
# .scripts/test.sh -s "NukeUI" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
61+
# .scripts/test.sh -s "Nuke Extensions" -d "OS=9.1,name=Apple Watch Series 8 (45mm)"
6262
ios-xcode-14-3-1:
6363
name: Unit Tests (iOS 17.0, Xcode 15.0)
6464
runs-on: macOS-13
@@ -68,9 +68,9 @@ jobs:
6868
- uses: actions/checkout@v2
6969
- name: Run Tests
7070
run: |
71-
Scripts/test.sh -s "Nuke" -d "OS=17.0,name=iPhone 15 Pro"
72-
Scripts/test.sh -s "NukeUI" -d "OS=17.0,name=iPhone 15 Pro"
73-
Scripts/test.sh -s "NukeExtensions" -d "OS=17.0,name=iPhone 15 Pro"
71+
.scripts/test.sh -s "Nuke" -d "OS=17.0,name=iPhone 15 Pro"
72+
.scripts/test.sh -s "NukeUI" -d "OS=17.0,name=iPhone 15 Pro"
73+
.scripts/test.sh -s "NukeExtensions" -d "OS=17.0,name=iPhone 15 Pro"
7474
ios-thread-safety:
7575
name: Thread Safety Tests (TSan Enabled)
7676
runs-on: macOS-14
@@ -79,7 +79,7 @@ jobs:
7979
steps:
8080
- uses: actions/checkout@v2
8181
- name: Run Tests
82-
run: Scripts/test.sh -s "Nuke Thread Safety Tests" -d "OS=17.4,name=iPhone 15 Pro"
82+
run: .scripts/test.sh -s "Nuke Thread Safety Tests" -d "OS=17.4,name=iPhone 15 Pro"
8383
# ios-memory-management-tests:
8484
# name: Memory Management Tests
8585
# runs-on: macOS-13
@@ -88,7 +88,7 @@ jobs:
8888
# steps:
8989
# - uses: actions/checkout@v2
9090
# - name: Run Tests
91-
# run: Scripts/test.sh -s "Nuke Memory Management Tests" -d "OS=14.4,name=iPhone 12 Pro"
91+
# run: .scripts/test.sh -s "Nuke Memory Management Tests" -d "OS=14.4,name=iPhone 12 Pro"
9292
ios-performance-tests:
9393
name: Performance Tests
9494
runs-on: macOS-14
@@ -97,7 +97,7 @@ jobs:
9797
steps:
9898
- uses: actions/checkout@v2
9999
- name: Run Tests
100-
run: Scripts/test.sh -s "Nuke Performance Tests" -d "OS=17.4,name=iPhone 15 Pro"
100+
run: .scripts/test.sh -s "Nuke Performance Tests" -d "OS=17.4,name=iPhone 15 Pro"
101101
swift-build:
102102
name: Swift Build (SPM)
103103
runs-on: macOS-14
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Nuke.xcodeproj/project.pbxproj

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,6 @@
357357
0C179C772282AC50008AB488 /* .swiftlint.yml */ = {isa = PBXFileReference; lastKnownFileType = text; path = .swiftlint.yml; sourceTree = "<group>"; };
358358
0C179C7A2283597F008AB488 /* ImageEncoding.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageEncoding.swift; sourceTree = "<group>"; };
359359
0C1B987F294E28D800C09310 /* Nuke.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = Nuke.docc; sourceTree = "<group>"; };
360-
0C1E59662372EBBC00674B63 /* lint.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = lint.sh; path = Scripts/lint.sh; sourceTree = "<group>"; };
361-
0C1E59682372EBBC00674B63 /* validate.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = validate.sh; path = Scripts/validate.sh; sourceTree = "<group>"; };
362-
0C1E596A2372EBBC00674B63 /* test.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = test.sh; path = Scripts/test.sh; sourceTree = "<group>"; };
363360
0C1E620A1D6F817700AD5CF5 /* ImageRequestTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ImageRequestTests.swift; sourceTree = "<group>"; };
364361
0C222DE2294E2DEA00012288 /* NukeUI.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = NukeUI.docc; sourceTree = "<group>"; };
365362
0C222DE4294E2E0200012288 /* NukeExtensions.docc */ = {isa = PBXFileReference; lastKnownFileType = folder.documentationcatalog; path = NukeExtensions.docc; sourceTree = "<group>"; };
@@ -481,7 +478,6 @@
481478
0CA4ECCF26E68FC000BAC8E5 /* DataCaching.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataCaching.swift; sourceTree = "<group>"; };
482479
0CA4ECD226E68FDC00BAC8E5 /* ImageCaching.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImageCaching.swift; sourceTree = "<group>"; };
483480
0CA5D953263CCEA500E08E17 /* ImagePublisher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagePublisher.swift; sourceTree = "<group>"; };
484-
0CA82BDC237AE09F00338375 /* install_swiftlint.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; name = install_swiftlint.sh; path = Scripts/install_swiftlint.sh; sourceTree = "<group>"; };
485481
0CA8D8EC2958DA3700EDAA2C /* Atomic.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Atomic.swift; sourceTree = "<group>"; };
486482
0CAAB00F1E45D6DA00924450 /* NukeExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NukeExtensions.swift; sourceTree = "<group>"; };
487483
0CB047992856D9AC00DF9B6D /* Cache.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Cache.swift; sourceTree = "<group>"; };
@@ -646,17 +642,6 @@
646642
path = Resources;
647643
sourceTree = "<group>";
648644
};
649-
0C1E59652372EBA600674B63 /* Scripts */ = {
650-
isa = PBXGroup;
651-
children = (
652-
0C1E59662372EBBC00674B63 /* lint.sh */,
653-
0CA82BDC237AE09F00338375 /* install_swiftlint.sh */,
654-
0C1E596A2372EBBC00674B63 /* test.sh */,
655-
0C1E59682372EBBC00674B63 /* validate.sh */,
656-
);
657-
name = Scripts;
658-
sourceTree = "<group>";
659-
};
660645
0C38DAE228568FC30027F9FF /* NukeUI */ = {
661646
isa = PBXGroup;
662647
children = (
@@ -811,7 +796,6 @@
811796
0C9174911BAE99EE004A7905 /* Products */,
812797
0CDB92761DAF9BA500002905 /* Documentation */,
813798
0CDB927F1DAF9BA900002905 /* Metadata */,
814-
0C1E59652372EBA600674B63 /* Scripts */,
815799
0C4F900222E4C4FB0070ECFD /* Frameworks */,
816800
);
817801
sourceTree = "<group>";
@@ -1142,6 +1126,7 @@
11421126
isa = PBXNativeTarget;
11431127
buildConfigurationList = 0C55FD1228567875000FD2C9 /* Build configuration list for PBXNativeTarget "NukeExtensions" */;
11441128
buildPhases = (
1129+
0CC04A952C4BD3BB00F1164D /* Lint */,
11451130
0C55FCF828567875000FD2C9 /* Headers */,
11461131
0C55FCF928567875000FD2C9 /* Sources */,
11471132
0C55FCFA28567875000FD2C9 /* Frameworks */,
@@ -1465,7 +1450,7 @@
14651450
);
14661451
runOnlyForDeploymentPostprocessing = 0;
14671452
shellPath = /bin/sh;
1468-
shellScript = "Scripts/lint.sh\n";
1453+
shellScript = ".scripts/lint.sh\n";
14691454
};
14701455
0C38DAA228568FAE0027F9FF /* Lint */ = {
14711456
isa = PBXShellScriptBuildPhase;
@@ -1484,7 +1469,7 @@
14841469
);
14851470
runOnlyForDeploymentPostprocessing = 0;
14861471
shellPath = /bin/sh;
1487-
shellScript = "Scripts/lint.sh\n";
1472+
shellScript = ".scripts/lint.sh\n";
14881473
};
14891474
0C75849C29A151FF00F985F8 /* Lint */ = {
14901475
isa = PBXShellScriptBuildPhase;
@@ -1503,7 +1488,26 @@
15031488
);
15041489
runOnlyForDeploymentPostprocessing = 0;
15051490
shellPath = /bin/sh;
1506-
shellScript = "Scripts/lint.sh\n";
1491+
shellScript = ".scripts/lint.sh\n";
1492+
};
1493+
0CC04A952C4BD3BB00F1164D /* Lint */ = {
1494+
isa = PBXShellScriptBuildPhase;
1495+
alwaysOutOfDate = 1;
1496+
buildActionMask = 2147483647;
1497+
files = (
1498+
);
1499+
inputFileListPaths = (
1500+
);
1501+
inputPaths = (
1502+
);
1503+
name = Lint;
1504+
outputFileListPaths = (
1505+
);
1506+
outputPaths = (
1507+
);
1508+
runOnlyForDeploymentPostprocessing = 0;
1509+
shellPath = /bin/sh;
1510+
shellScript = ".scripts/lint.sh\n";
15071511
};
15081512
/* End PBXShellScriptBuildPhase section */
15091513

0 commit comments

Comments
 (0)