Skip to content

Commit 3d69210

Browse files
Simplify build
1 parent f5a6915 commit 3d69210

12 files changed

+10
-226
lines changed

.credo.exs

-129
This file was deleted.

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ rvm:
66
- 2.3.0
77

88
install:
9-
- bundle install
9+
- gem install mdl rake
1010

1111
script:
12-
- bundle exec rake test
12+
- rake test

CODE_OF_CONDUCT.md

-50
This file was deleted.

CONTRIBUTING.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,8 @@ formatting/markup/style rules so that the style remains consistent:
2323
Use Ruby and [Markdownlint] to check your changes:
2424

2525
```sh
26-
gem install bundler
27-
bundle install
28-
bundle exec rake test
26+
gem install mdl rake
27+
rake test
2928
```
3029

3130
**IMPORTANT**: By submitting a patch, you agree that your work will be

Gemfile

-4
This file was deleted.

Gemfile.lock

-21
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1128,7 +1128,7 @@ project.
11281128
[Chinese Traditional]: https://github.com/elixirtw/elixir_style_guide/blob/master/README_zhTW.md
11291129
[Code Analysis]: https://github.com/h4cc/awesome-elixir#code-analysis
11301130
[Code Of Conduct]: https://github.com/christopheradams/elixir_style_guide/blob/master/CODE_OF_CONDUCT.md
1131-
[Contributing]: https://github.com/christopheradams/elixir_style_guide/blob/master/CONTRIBUTING.md
1131+
[Contributing]: https://github.com/elixir-lang/elixir/blob/master/CODE_OF_CONDUCT.md
11321132
[Contributors]: https://github.com/christopheradams/elixir_style_guide/graphs/contributors
11331133
[Elixir Style Guide]: https://github.com/christopheradams/elixir_style_guide
11341134
[Elixir]: http://elixir-lang.org

Rakefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
task :test do
22
exit_code = 0
33
files = ["README.md", "CONTRIBUTING.md"]
4+
# 'MD036' # Emphasis used instead of a header
5+
# 'MD033' # Inline HTML - allow for anchor links in each bullet point
6+
rules = ['~MD036', '~MD033'].join(",")
47
files.each do |file|
58
begin
6-
sh "bundle exec mdl --style 'markdown.rb' #{file}"
9+
sh "mdl --rules #{rules} #{file}"
710
rescue Exception => ex
811
exit_code = 1
912
end

lib/elixir_style_guide.ex

-5
This file was deleted.

markdown.rb

-4
This file was deleted.

mix.exs

+1-2
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ defmodule ElixirStyleGuide.Mixfile do
2626
end
2727

2828
defp deps do
29-
[{:ex_doc, ">= 0.0.0", only: :dev},
30-
{:credo, "~> 0.5", only: [:dev, :test]}]
29+
[]
3130
end
3231

3332
defp docs() do

mix.lock

-4
This file was deleted.

0 commit comments

Comments
 (0)