Skip to content

Commit

Permalink
Merge pull request freeCodeCamp#1494 from MasterEnoc/cmake
Browse files Browse the repository at this point in the history
Update Cmake to 3.20
  • Loading branch information
simon04 authored Mar 5, 2021
2 parents b9de596 + c8a62bd commit c0a1bad
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/docs/scrapers/cmake.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,15 @@ class Cmake < UrlScraper
options[:skip_patterns] = [/\Agenerator/, /\Acpack_gen/, /\Ainclude/, /\Arelease/]

options[:attribution] = <<-HTML
&copy; 2000&ndash;2020 Kitware, Inc. and Contributors<br>
&copy; 2000&ndash;2021 Kitware, Inc. and Contributors<br>
Licensed under the BSD 3-clause License.
HTML

version '3.20' do
self.release = '3.20'
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
end

version '3.19' do
self.release = '3.19.0'
self.base_url = "https://cmake.org/cmake/help/v#{self.version}/"
Expand Down

0 comments on commit c0a1bad

Please sign in to comment.