Skip to content

Commit

Permalink
rdiscount.gemspec: Fix steps to rebuild file list
Browse files Browse the repository at this point in the history
  • Loading branch information
davidfstr committed Dec 31, 2023
1 parent bd5ee93 commit e8f06e2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions BUILDING
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,9 @@ Copy the new Discount sources to the appropriate directories for RDiscount:

$ rake gather

Update rdiscount.gemspec to include all *.c, *.h, and *.rb files in
ext. This must be done manually. Here's a quick way to get the full list:
Update rdiscount.gemspec to include all *.c, *.h, and *.rb files in ext:

$ echo ext/*.c ext/*.h ext/*.rb ext/blocktags ext/VERSION | tr ' ' "\n" | sort

(There is an old Rakefile target called "rdiscount.gemspec" that looks like it
is designed to perform an update of these files, however I haven't tested it.)
$ rake rdiscount.gemspec

Build the RDiscount gem. If you get errors related to missing files
in ext, make sure you updated the gemspec correctly in the previous step.
Expand Down
2 changes: 1 addition & 1 deletion rdiscount.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Gem::Specification.new do |s|
# = MANIFEST =
s.files = %w[
BUILDING
CHANGELOG.md
COPYING
README.markdown
Rakefile
Expand Down Expand Up @@ -44,7 +45,6 @@ Gem::Specification.new do |s|
ext/pgm_options.h
ext/rdiscount.c
ext/resource.c
ext/ruby-config.h
ext/setup.c
ext/tags.c
ext/tags.h
Expand Down

0 comments on commit e8f06e2

Please sign in to comment.