Skip to content
This repository has been archived by the owner on Apr 29, 2020. It is now read-only.

Commit

Permalink
Moved everything up a level: only one gem will be built.
Browse files Browse the repository at this point in the history
Changed requirements, dependencies.  Tests are green.
  • Loading branch information
francois committed Mar 15, 2008
1 parent a2b3221 commit 47948ed
Show file tree
Hide file tree
Showing 133 changed files with 95 additions and 7,458 deletions.
File renamed without changes.
File renamed without changes.
67 changes: 67 additions & 0 deletions Manifest.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
.gitignore
History.txt
License.txt
Manifest.txt
README.txt
Rakefile
bin/piston
config/hoe.rb
config/requirements.rb
lib/piston.rb
lib/piston/version.rb
lib/piston_core.rb
lib/piston_core/cli.rb
lib/piston_core/commands/base.rb
lib/piston_core/commands/import.rb
lib/piston_core/repository.rb
lib/piston_core/revision.rb
lib/piston_core/version.rb
lib/piston_core/working_copy.rb
lib/piston_git.rb
lib/piston_git/client.rb
lib/piston_git/commit.rb
lib/piston_git/repository.rb
lib/piston_git/version.rb
lib/piston_git/working_copy.rb
lib/piston_svn.rb
lib/piston_svn/client.rb
lib/piston_svn/repository.rb
lib/piston_svn/revision.rb
lib/piston_svn/version.rb
lib/piston_svn/working_copy.rb
log/.gitignore
samples/svn/import.rb
script/destroy
script/generate
script/txt2html
setup.rb
tasks/deployment.rake
tasks/environment.rake
tasks/website.rake
test/test_git_commit_checkout.rb
test/test_git_commit_each.rb
test/test_git_commit_rememberance.rb
test/test_git_repository_at.rb
test/test_git_repository_guessing.rb
test/test_helper.rb
test/test_import.rb
test/test_piston.rb
test/test_repository_guessing.rb
test/test_svn_repository_at.rb
test/test_svn_repository_guessing.rb
test/test_svn_revision_checkout.rb
test/test_svn_revision_each.rb
test/test_svn_revision_rememberance.rb
test/test_svn_working_copy_copying.rb
test/test_svn_working_copy_creation.rb
test/test_svn_working_copy_existence.rb
test/test_svn_working_copy_finalization.rb
test/test_svn_working_copy_guessing.rb
test/test_svn_working_copy_rememberance.rb
test/test_working_copy_guessing.rb
tmp/.gitignore
website/index.html
website/index.txt
website/javascripts/rounded_corners_lite.inc.js
website/stylesheets/screen.css
website/template.rhtml
5 changes: 0 additions & 5 deletions piston/README.txt → README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ Nothing could be simpler:

$ gem install piston

If you want to cherry pick the backends, install like this:

$ gem install piston-core piston-git
# Does not install the Subversion backend


= Usage

Expand Down
37 changes: 4 additions & 33 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,33 +1,4 @@
LIBS = %w(piston-core piston-git piston-svn piston)

def each_lib
LIBS.each do |libname|
Dir.chdir(libname) do
yield libname
end
end
end

def each_lib_reversed
LIBS.reverse.each do |libname|
Dir.chdir(libname) do
yield libname
end
end
end

namespace :gem do
task :install do
each_lib { sh "rake install_gem" }
end

task :uninstall do
each_lib_reversed {|libname| sh "sudo gem uninstall #{libname}"}
end
end

task :test do
each_lib { sh "rake test" }
end

task :default => :test
require "config/requirements"
require "config/hoe" # setup Hoe + all gem configuration

Dir["tasks/**/*.rake"].each { |rake| load rake }
File renamed without changes.
7 changes: 3 additions & 4 deletions piston/config/hoe.rb → config/hoe.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,10 @@ def extra_deps
# == Optional
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
p.extra_deps = [
["piston-core", "= #{Piston::VERSION::STRING}"],
["piston-svn", "= #{Piston::VERSION::STRING}"],
["piston-git", "= #{Piston::VERSION::STRING}"]
["main", "~> 2.8.0"],
["open4", "~> 0.9.6"]
]

#p.spec_extras = {} # A hash of extra values to set in the gemspec.

end
Expand Down
4 changes: 4 additions & 0 deletions piston/config/requirements.rb → config/requirements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,7 @@
$:.unshift(File.join(File.dirname(__FILE__), %w[.. lib]))

require "piston"
require "piston_core"
require "piston_core/commands/import"
require "piston_svn"
require "piston_git"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 0 additions & 29 deletions piston-core/Manifest.txt

This file was deleted.

6 changes: 0 additions & 6 deletions piston-core/README.txt

This file was deleted.

4 changes: 0 additions & 4 deletions piston-core/Rakefile

This file was deleted.

72 changes: 0 additions & 72 deletions piston-core/config/hoe.rb

This file was deleted.

23 changes: 0 additions & 23 deletions piston-core/config/requirements.rb

This file was deleted.

Empty file removed piston-core/log/debug.log
Empty file.
74 changes: 0 additions & 74 deletions piston-core/script/txt2html

This file was deleted.

11 changes: 0 additions & 11 deletions piston-core/website/index.html

This file was deleted.

Loading

0 comments on commit 47948ed

Please sign in to comment.