Skip to content

Commit 18f9295

Browse files
committed
Update project structure
1 parent f43c415 commit 18f9295

25 files changed

+732
-275
lines changed

.projlint.yml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
shared_variables:
2+
rightholder: Flinesoft
3+
project_name: CSVImporter
4+
5+
rules:
6+
- xcode_build_phases:
7+
project_path: <:project_name:>.xcodeproj
8+
target_name: <:project_name:> iOS
9+
run_scripts:
10+
SwiftLint: |
11+
if [ "${CONFIGURATION}" = "Debug" ]; then
12+
if which swiftlint > /dev/null; then
13+
swiftlint
14+
else
15+
echo "warning: SwiftLint not installed, download it from https://github.com/realm/SwiftLint"
16+
fi
17+
fi
18+
19+
ProjLint: |
20+
if [ "${CONFIGURATION}" = "Debug" ]; then
21+
if which projlint > /dev/null; then
22+
projlint lint --xcode --timeout 2 --ignore-network-errors
23+
else
24+
echo "warning: ProjLint not installed, download it from https://github.com/JamitLabs/ProjLint"
25+
fi
26+
fi
27+
28+
- xcode_project_navigator:
29+
project_path: <:project_name:>.xcodeproj
30+
sorted:
31+
- Frameworks/<:project_name:>
32+
- Frameworks/SupportingFiles
33+
- Tests/<:project_name:>Tests
34+
- Tests/SupportingFiles
35+
inner_group_order:
36+
- assets
37+
- entitlements
38+
- plists
39+
- strings
40+
- others
41+
- [code_files, interfaces]
42+
- folders
43+
structure:
44+
- Frameworks:
45+
- <:project_name:>
46+
- SupportingFiles:
47+
- Info.plist
48+
- Tests:
49+
- <:project_name:>Tests
50+
- SupportingFiles:
51+
- Info.plist
52+
- RootFiles:
53+
- beak.swift
54+
- .projlint.yml
55+
- .swiftlint.yml
56+
- Package.swift
57+
- Products
58+
- file_content_template:
59+
matching:
60+
.swiftlint.yml:
61+
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/Framework/SwiftLint.stencil"
62+
parameters:
63+
rightholder: <:rightholder:>
64+
.projlint.yml:
65+
template_url: "https://raw.githubusercontent.com/JamitLabs/ProjLintTemplates/master/Framework/ProjLint.stencil"
66+
parameters:
67+
rightholder: <:rightholder:>
68+
project_name: <:project_name:>
69+
- file_existence:
70+
existing_paths:
71+
- .gitignore
72+
- .swiftlint.yml
73+
- .sourcery/LinuxMain.stencil
74+
- CODE_OF_CONDUCT.md
75+
- CONTRIBUTING.md
76+
- CHANGELOG.md
77+
- LICENSE
78+
- README.md
79+
- <:project_name:>.podspec
80+
- Package.swift
81+
- beak.swift
82+
- <:project_name:>.xcodeproj/xcshareddata/IDETemplateMacros.plist
83+
- Frameworks/SupportingFiles/Info.plist
84+
- Tests/SupportingFiles/Info.plist

.swift-version

-1
This file was deleted.

0 commit comments

Comments
 (0)