You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
454 B
Ruby
24 lines
454 B
Ruby
#!/usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
# SPDX-License-Identifier: MIT
|
|
#
|
|
# Copyright (c) 2018-2019 Andre Richter <andre.o.richter@gmail.com>
|
|
|
|
require_relative 'helpers/tutorial_folders.rb'
|
|
|
|
def clippy_all
|
|
crates = tutorial_folders
|
|
|
|
crates.each do |x|
|
|
x = File.dirname(x)
|
|
|
|
Dir.chdir(x) do
|
|
puts "Clippy: #{x}"
|
|
system('make clippy')
|
|
end
|
|
end
|
|
end
|
|
|
|
clippy_all if $PROGRAM_NAME == __FILE__
|