# ruby-hashdiff/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. The source tarball used by this  package was created based on "git"
upstream sources. The following command was used:

      ocgitfetch --run ruby-hashdiff \
https://github.com/liufengyun/hashdiff.git

#---------------------------------------------------------------------

[buildtimes]

#---------------------------------------------------------------------

[settings]
configure = none
license   = See "license*.txt" in installed tree
licfile   = LICENSE
licprefix = $PRODTREE/ruby30
proddir   = none
tmpsize   = 1M

#---------------------------------------------------------------------

[depends]
rake
rake-compiler
ruby30:strict

#---------------------------------------------------------------------

[build]

#---------------------------------------------------------------------

for gem in bluecloth rspec rubocop rubocop-rspec yard
do
    sed -e "/add_development_dependency.*['\"]$gem['\"]/d" \
        -i *.gemspec
done

#---------------------------------------------------------------------

echo gemspec > Gemfile
rm -fr Gemfile.lock
rm -fr Gemfile.lock ; bundle package
gem build *.gemspec || true; gem build *.gemspec
gem-install-local *.gem
gem-cache-index

#---------------------------------------------------------------------

# Original URLs. These URLs were valid at one point, but may have died
# since then. If you download newer versions of tarballs [etc.], don't
# delete  the  original versions,  as you may not  be able  to replace
# them.

[urls]
url_debian  = tbd
url_home    = tbd
url_lfs     = tbd
url_tarball = git               # See "technotes" in "cfg" file

#---------------------------------------------------------------------

[history]
191009 Added package. Started with b5011e2ec ("git" hash).
220821 Updated to 7c704827f