Sha256: c6ac0fd3c5daab7a0bcd6b3474c59e66af393142e1cb6fede0aae588d866bff6

Contents?: true

Size: 500 Bytes

Versions: 3

Compression:

Stored size: 500 Bytes

Contents

#! /usr/bin/env ruby
# frozen_string_literal: true

# See https://github.com/github/government.github.com/pull/367#issuecomment-102108763

require 'fileutils'
require './lib/gman'

FileUtils.rm_rf('almanak.overheid.nl')
commands = [
  "wget -q -r -nc -np https://almanak.overheid.nl/
  grep @ -rI almanak.overheid.nl/",
  'cut -f 2 -d @',
  "cut -f 1 -d '\"'",
  'grep \\.nl$',
  'sort',
  'uniq'
]
domains = system commands.join('|')

Gman::Importer.new('Netherlands' => domains.split("\n")).import

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gman-7.0.5 script/vendor-nl
gman-7.0.4 script/vendor-nl
gman-7.0.3 script/vendor-nl