From: Michael Orlitzky Date: Mon, 9 Nov 2015 02:56:40 +0000 (-0500) Subject: Move the install-fixtures.sh script to a harmless location. X-Git-Tag: 0.0.2~1 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=030f4945fe72265177bd5620141b363b3cddeefb;p=mailshears.git Move the install-fixtures.sh script to a harmless location. --- diff --git a/mailshears.gemspec b/mailshears.gemspec index 6af744f..3d7239b 100644 --- a/mailshears.gemspec +++ b/mailshears.gemspec @@ -1,7 +1,7 @@ Gem::Specification.new do |s| s.name = 'mailshears' - s.version = '0.0.1' + s.version = '0.0.2' s.platform = Gem::Platform::RUBY s.authors = ['Michael Orlitzky'] s.email = ['michael@orlitzky.com'] @@ -30,9 +30,12 @@ Gem::Specification.new do |s| # If you have runtime dependencies, add them here s.add_runtime_dependency 'pg', '~> 0.11' - # The list of files to be contained in the gem - s.files = `git ls-files`.split("\n") - s.executables = ['mailshears'] + # The list of files to be contained in the gem. We can obtain it + # from git as long as we remember that this magic will happen and we + # don't add any files in weird locations or build the gem before + # running `git add`. + s.files = `git ls-files`.split("\n") + s.executables = ['mailshears'] s.require_path = 'lib' diff --git a/bin/install-fixtures.sh b/test/bin/install-fixtures.sh similarity index 84% rename from bin/install-fixtures.sh rename to test/bin/install-fixtures.sh index da052e6..88e4441 100755 --- a/bin/install-fixtures.sh +++ b/test/bin/install-fixtures.sh @@ -1,5 +1,9 @@ #!/bin/sh - +# +# This script installs the test fixtures into the default databases on +# localhost assuming everything is configured just right. Don't worry +# about this, go play with something else. +# rm -rf /tmp/mailshears-test mkdir -p /tmp/mailshears-test/example.com/alice mkdir -p /tmp/mailshears-test/example.com/booger