[gnome-icon-theme/auto-index-theme: 4/5] copy template to the output directory
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-icon-theme/auto-index-theme: 4/5] copy template to the output directory
- Date: Wed, 28 Mar 2012 13:24:32 +0000 (UTC)
commit cd456177f814984561911651b945f7ce69f30ba3
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Aug 25 22:29:38 2009 +0200
copy template to the output directory
create-icon-theme.rb | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/create-icon-theme.rb b/create-icon-theme.rb
new file mode 100755
index 0000000..70382af
--- /dev/null
+++ b/create-icon-theme.rb
@@ -0,0 +1,18 @@
+#!/usr/bin/env ruby
+require "fileutils"
+
+if (ARGV[0].nil?) #render all SVGs
+ puts "Usage: #{$0} [icon theme directory]"
+ exit
+end
+
+THEME_NAME=ARGV[0]
+THEME_COMMENT="#{THEME_NAME} Icon Theme"
+OUTPUT="#{Dir.pwd}/output/#{THEME_NAME}"
+
+FileUtils.rm_rf OUTPUT
+FileUtils.mkdir_p OUTPUT
+
+puts "Creating icon theme in #{OUTPUT}"
+puts "Copying build files.."
+FileUtils.cp_r Dir.glob("build/*"), OUTPUT
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]