Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ jobs:
steps:
- name: Checkout source
uses: actions/checkout@v6
- name: Resolve package dependencies
run: swift package resolve
- name: Lint
run: >
swift package plugin --allow-writing-to-package-directory swiftlint --
lint --strict --reporter github-actions-logging
- name: Resolve package dependencies
run: xcodebuild -resolvePackageDependencies
- name: Build
Expand All @@ -35,7 +29,6 @@ jobs:
build-for-testing
-scheme "Layout-Package"
-destination "name=$SIMULATOR,OS=$SIMULATOR_OS"
-skipPackagePluginValidation
- name: Test
run: >
xcodebuild
Expand Down
248 changes: 0 additions & 248 deletions .swiftlint-rules.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .swiftlint.yml

This file was deleted.

17 changes: 0 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Contributing to Layout

- [Open Package](#open-package)
- [Lint Package](#lint-package)
- [Testing](#testing)
- [Creating Releases](#creating-releases)

Expand All @@ -13,22 +12,6 @@
make open
```

## Lint Package

> SwiftLint violations are visible in Xcode as well.

To run SwiftLint from the command line:

```
make lint
```

To run analysis rules:

```
make analyze
```

## Testing

To re-record all existing snapshot references, delete all using the following command and then run the tests.
Expand Down
25 changes: 0 additions & 25 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,30 +15,6 @@ fix:
"Add :FILEHEADER string $$header" \
"$(XCSHAREDDATA)/IDETemplateMacros.plist" >/dev/null 2>&1

.PHONY: lint
lint: format ?= emoji
lint:
@swift package plugin \
swiftlint lint --strict --progress --reporter "$(format)"

.PHONY: analyze
analyze: target ?= Layout
analyze: destination ?= generic/platform=iOS
analyze: format ?= emoji
analyze:
@DERIVED_DATA="$$(mktemp -d)"; \
XCODEBUILD_LOG="$$DERIVED_DATA/xcodebuild.log"; \
xcodebuild \
-scheme "$(target)-Package" \
-destination "$(destination)" \
-derivedDataPath "$$DERIVED_DATA" \
-configuration "Debug" \
-skipPackagePluginValidation \
CODE_SIGNING_ALLOWED="NO" \
> "$$XCODEBUILD_LOG"; \
swift package plugin \
swiftlint analyze --strict --progress --reporter "$(format)" --compiler-log-path "$$XCODEBUILD_LOG"

.PHONY: delete-snapshots
delete-snapshots:
@for snapshots in $$(find Tests -type d -name "__Snapshots__"); \
Expand All @@ -59,7 +35,6 @@ docs:
-scheme "$(target)" \
-destination "$(destination)" \
-derivedDataPath "$(DERIVED_DATA_PATH)" \
-skipPackagePluginValidation \
$(if $(filter $(open),OPEN),OTHER_DOCC_FLAGS="--warnings-as-errors",)
@find "$(DERIVED_DATA_PATH)" \
-type d \
Expand Down
11 changes: 1 addition & 10 deletions Package.resolved

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading