[![CircleCI](https://circleci.com/gh/barbosa/danger-clorox.svg?style=svg)](https://circleci.com/gh/barbosa/danger-clorox) # Danger Clorox A [Danger](https://github.com/danger/danger) plugin for [Clorox](https://github.com/barbosa/clorox) that runs on macOS. ```diff +// +// DirtyFile.swift +// MyApp +// +// Created by John Appleseed on 11/12/16. +// Copyright © 2016 ACME. All rights reserved. +// + +import Foundation ``` :scream: ## Installation Add this line to your Gemfile: ```rb gem 'danger-clorox' ``` ## Usage ### Basic Add the following line to your Danger file to check files inside the current directory: ```rb clorox.check ``` ### Advanced Specify the directories where you want to run the script: ```rb clorox.check ["YourProject", "YourProjectNotificationExtension"] ``` Set the script level so it displays failures/warnings in the specific markdown table ```rb clorox.level = "failure" clorox.check ["YourProject", "YourProjectNotificationExtension"] ``` ### Output
1 Error | |
---|---|
:no_entry_sign: | MyApp/Source/DirtyFile.swift contains Xcode's file header |