0.0
No commit activity in last 3 years
No release in over 3 years
A Danger plugin for checking presence of file header comments.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.3
~> 2.14
= 3.0.7
>= 0
~> 10.0
~> 3.4

Runtime

>= 0
 Project Readme

CircleCI

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