Skip to content

Commit

Permalink
Fix make sourcery
Browse files Browse the repository at this point in the history
* Invoke correct make job for `AutomaticRuleTests`
* Generate `LinuxMain` last so that it can include tests from
  AutomaticRuleTests
  • Loading branch information
jpsim committed Aug 31, 2018
1 parent 523feae commit 687c6a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ VERSION_STRING=$(shell /usr/libexec/PlistBuddy -c "Print :CFBundleShortVersionSt

all: build

sourcery: Tests/LinuxMain.swift Source/SwiftLintFramework/Models/MasterRuleList.swift Tests/SwiftLintFrameworkTests/AutomaticRuleTests.swift
sourcery: Source/SwiftLintFramework/Models/MasterRuleList.swift Tests/SwiftLintFrameworkTests/AutomaticRuleTests.generated.swift Tests/LinuxMain.swift

Tests/LinuxMain.swift: Tests/*/*.swift .sourcery/LinuxMain.stencil
sourcery --sources Tests --templates .sourcery/LinuxMain.stencil --output .sourcery --force-parse generated
Expand Down

0 comments on commit 687c6a7

Please sign in to comment.