summary refs log tree commit diff
path: root/update.rb
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2012-03-28 16:26:58 -0400
committerJune McEnroe <programble@gmail.com>2012-03-28 16:26:58 -0400
commit4bdb7b3345ab9680234f074fbdecca50601c3f57 (patch)
tree2ea7d34f4463c1ed58444af2c0fd9b3d70f954c4 /update.rb
parentRemoved vimrc (diff)
downloadsrc-4bdb7b3345ab9680234f074fbdecca50601c3f57.tar.gz
src-4bdb7b3345ab9680234f074fbdecca50601c3f57.zip
Reformat for use with Effuse
Diffstat (limited to '')
-rwxr-xr-xupdate.rb29
1 files changed, 0 insertions, 29 deletions
diff --git a/update.rb b/update.rb
deleted file mode 100755
index 9f1c67dd..00000000
--- a/update.rb
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/usr/bin/env ruby
-
-require 'fileutils'
-
-dotfiles = {}
-
-dirs = ['.']
-dirs.each do |dir|
-  Dir.foreach(dir) do |file|
-    next if file[0] == '.'
-    file = File.join(dir, file)
-    if File.directory? file
-      dirs << file
-      next
-    end
-    dotfiles[file] = file.sub('.', '~').sub('_', '.') if %r{/_} =~ file
-  end
-end
-
-dotfiles.each do |a, b|
-  a, b = File.expand_path(a), File.expand_path(b)
-  FileUtils.cp(b, a)
-  puts "#{b} -> #{a}"
-end
-
-system('git diff')
-system('git add .')
-system('git commit')
-system('git push')