Update Makefile

This commit is contained in:
Christian Treffs 2020-08-28 10:55:44 +02:00
parent e38840d291
commit a1e621d8d9
No known key found for this signature in database
GPG Key ID: 49A4B4B460BE3ED4
1 changed files with 14 additions and 6 deletions

View File

@ -55,13 +55,21 @@ cleanArtifacts:
testReadme: testReadme:
markdown-link-check -p -v ./README.md markdown-link-check -p -v ./README.md
setupEnvironment: generateCode:
brew update sourcery --config ./.sourcery.yml --verbose
generateTestsCode:
sourcery --config ./.sourceryTests.yml --verbose
brewInstallDeps: brewUpdate
brew install swiftenv brew install swiftenv
brew install swiftlint brew install swiftlint
brew install sourcery brew install sourcery
generateCode: brewSetup:
sourcery --config ./.sourcery.yml --verbose which -s brew || /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
generateTestsCode:
sourcery --config ./.sourceryTests.yml --verbose brewUpdate: brewSetup
brew update
setupEnvironment: brewInstallDeps
open Package.swift