Use ARGV like other ruby post-processing scripts
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
816a473913
commit
07408d01a9
@ -4,8 +4,8 @@
|
|||||||
require 'nokogiri'
|
require 'nokogiri'
|
||||||
require 'set'
|
require 'set'
|
||||||
|
|
||||||
# 1) Find all HTML files, excluding those in "venv/"
|
# 1) Process all files passed in from the command line
|
||||||
files = Dir.glob("**/*.html").reject { |f| f.start_with?("venv") }
|
files = ARGV
|
||||||
|
|
||||||
# 2) Extract used Feather icons
|
# 2) Extract used Feather icons
|
||||||
used_icons = Set.new
|
used_icons = Set.new
|
||||||
|
Loading…
Reference in New Issue
Block a user