Danger Clorox
A Danger plugin for Clorox that runs on macOS.
+//
+// DirtyFile.swift
+// MyApp
+//
+// Created by John Appleseed on 11/12/16.
+// Copyright © 2016 ACME. All rights reserved.
+//
+
+import Foundation
😱
Installation
Add this line to your Gemfile:
gem 'danger-clorox'
Usage
Basic
Add the following line to your Danger file to check files inside the current directory:
clorox.check
Advanced
Specify the directories where you want to run the script:
clorox.check ["YourProject", "YourProjectNotificationExtension"]
Set the script level so it displays failures/warnings in the specific markdown table
clorox.level = "failure"
clorox.check ["YourProject", "YourProjectNotificationExtension"]
Output
1 Error | |
---|---|
🚫 | MyApp/Source/DirtyFile.swift contains Xcode's file header |
Attribution
Original structure, sequence, and organization of repo taken from danger-prose by David Grandinetti and danger-swiftlint by Ash Furrow.
License
MIT