mirror of
https://github.com/mas-cli/mas
synced 2024-11-24 20:43:10 +00:00
🚧 Remove Danger Ruby gem
This commit is contained in:
parent
0e35ac7cac
commit
dac61a3d4f
8 changed files with 0 additions and 158 deletions
|
@ -1,6 +0,0 @@
|
|||
---
|
||||
BUNDLE_CLEAN: "true"
|
||||
BUNDLE_BIN: "bin"
|
||||
BUNDLE_JOBS: "8"
|
||||
BUNDLE_DISABLE_SHARED_GEMS: "true"
|
||||
BUNDLE_PATH: ".rubygems"
|
10
.github/dependabot.yml
vendored
10
.github/dependabot.yml
vendored
|
@ -1,10 +0,0 @@
|
|||
# https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates
|
||||
version: 2
|
||||
updates:
|
||||
- package-ecosystem: "bundler"
|
||||
directory: "/"
|
||||
schedule:
|
||||
interval: "daily"
|
||||
commit-message:
|
||||
prefix: "⬆️"
|
||||
include: "scope"
|
|
@ -1 +0,0 @@
|
|||
3.0.2
|
34
Dangerfile
34
Dangerfile
|
@ -1,34 +0,0 @@
|
|||
#!/usr/bin/env ruby
|
||||
#
|
||||
# Dangerfile
|
||||
# mas-cli
|
||||
#
|
||||
# https://danger.systems/guides/dangerfile.html
|
||||
#
|
||||
|
||||
# Sometimes it's a README fix, or something like that - which isn't relevant for
|
||||
# including in a project's CHANGELOG for example
|
||||
has_app_changes = !git.modified_files.grep(/Sources/).empty?
|
||||
has_test_changes = !git.modified_files.grep(/Tests/).empty?
|
||||
|
||||
# if has_app_changes && !has_test_changes
|
||||
# warn("Tests were not updated", sticky: false)
|
||||
# end
|
||||
|
||||
# Thanks other people!
|
||||
message(":tada:") if github.pr_author != "phatblat"
|
||||
|
||||
# Mainly to encourage writing up some reasoning about the PR, rather than just leaving a title
|
||||
if github.pr_body.length < 5
|
||||
fail ":memo: Please provide a summary in the Pull Request description"
|
||||
end
|
||||
|
||||
# Make it more obvious that a PR is a work in progress and shouldn't be merged yet
|
||||
warn(":construction: PR is classed as Work in Progress") if github.pr_title.include? "[WIP]"
|
||||
|
||||
# Warn when there is a big PR
|
||||
warn(":dizzy_face: Big PR") if git.lines_of_code > 500
|
||||
|
||||
# Don't let testing shortcuts get into main by accident
|
||||
#fail("fdescribe left in tests") if `grep -r fdescribe Tests/ `.length > 1
|
||||
#fail("fit left in tests") if `grep -r fit Tests/ `.length > 1
|
9
Gemfile
9
Gemfile
|
@ -1,9 +0,0 @@
|
|||
#
|
||||
# Gemfile
|
||||
# mas-cli
|
||||
#
|
||||
|
||||
source "https://rubygems.org"
|
||||
|
||||
gem "danger"
|
||||
gem "xcpretty"
|
83
Gemfile.lock
83
Gemfile.lock
|
@ -1,83 +0,0 @@
|
|||
GEM
|
||||
remote: https://rubygems.org/
|
||||
specs:
|
||||
addressable (2.8.0)
|
||||
public_suffix (>= 2.0.2, < 5.0)
|
||||
claide (1.0.3)
|
||||
claide-plugins (0.9.2)
|
||||
cork
|
||||
nap
|
||||
open4 (~> 1.3)
|
||||
colored2 (3.1.2)
|
||||
cork (0.3.0)
|
||||
colored2 (~> 3.1)
|
||||
danger (8.4.2)
|
||||
claide (~> 1.0)
|
||||
claide-plugins (>= 0.9.2)
|
||||
colored2 (~> 3.1)
|
||||
cork (~> 0.1)
|
||||
faraday (>= 0.9.0, < 2.0)
|
||||
faraday-http-cache (~> 2.0)
|
||||
git (~> 1.7)
|
||||
kramdown (~> 2.3)
|
||||
kramdown-parser-gfm (~> 1.0)
|
||||
no_proxy_fix
|
||||
octokit (~> 4.7)
|
||||
terminal-table (>= 1, < 4)
|
||||
faraday (1.8.0)
|
||||
faraday-em_http (~> 1.0)
|
||||
faraday-em_synchrony (~> 1.0)
|
||||
faraday-excon (~> 1.1)
|
||||
faraday-httpclient (~> 1.0.1)
|
||||
faraday-net_http (~> 1.0)
|
||||
faraday-net_http_persistent (~> 1.1)
|
||||
faraday-patron (~> 1.0)
|
||||
faraday-rack (~> 1.0)
|
||||
multipart-post (>= 1.2, < 3)
|
||||
ruby2_keywords (>= 0.0.4)
|
||||
faraday-em_http (1.0.0)
|
||||
faraday-em_synchrony (1.0.0)
|
||||
faraday-excon (1.1.0)
|
||||
faraday-http-cache (2.2.0)
|
||||
faraday (>= 0.8)
|
||||
faraday-httpclient (1.0.1)
|
||||
faraday-net_http (1.0.1)
|
||||
faraday-net_http_persistent (1.2.0)
|
||||
faraday-patron (1.0.0)
|
||||
faraday-rack (1.0.0)
|
||||
git (1.9.1)
|
||||
rchardet (~> 1.8)
|
||||
kramdown (2.3.1)
|
||||
rexml
|
||||
kramdown-parser-gfm (1.1.0)
|
||||
kramdown (~> 2.0)
|
||||
multipart-post (2.1.1)
|
||||
nap (1.1.0)
|
||||
no_proxy_fix (0.1.2)
|
||||
octokit (4.21.0)
|
||||
faraday (>= 0.9)
|
||||
sawyer (~> 0.8.0, >= 0.5.3)
|
||||
open4 (1.3.4)
|
||||
public_suffix (4.0.6)
|
||||
rchardet (1.8.0)
|
||||
rexml (3.2.5)
|
||||
rouge (2.0.7)
|
||||
ruby2_keywords (0.0.5)
|
||||
sawyer (0.8.2)
|
||||
addressable (>= 2.3.5)
|
||||
faraday (> 0.8, < 2.0)
|
||||
terminal-table (3.0.2)
|
||||
unicode-display_width (>= 1.1.1, < 3)
|
||||
unicode-display_width (2.1.0)
|
||||
xcpretty (0.3.0)
|
||||
rouge (~> 2.0.7)
|
||||
|
||||
PLATFORMS
|
||||
ruby
|
||||
|
||||
DEPENDENCIES
|
||||
danger
|
||||
xcpretty
|
||||
|
||||
BUNDLED WITH
|
||||
2.2.26
|
|
@ -11,9 +11,6 @@ main() {
|
|||
|
||||
echo "==> 👢 Bootstrapping"
|
||||
|
||||
# Install Ruby tools
|
||||
bundle install
|
||||
|
||||
# Install Homebrew tools
|
||||
rm -f Brewfile.lock.json
|
||||
brew bundle install --no-upgrade --verbose
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/bash -e
|
||||
#
|
||||
# script/danger
|
||||
# mas
|
||||
#
|
||||
# Invokes the danger gem through bundler for automated PR review.
|
||||
# https://danger.systems/
|
||||
#
|
||||
|
||||
echo "==> ⚠️ Running danger"
|
||||
|
||||
bundle exec danger --verbose
|
Loading…
Reference in a new issue