Files
react/gem-react-source/react-source.gemspec
Paul O’Shannessy 520c4f96d4 Move react-source gem out of project root
Now it requires a build step. At least the confusing lib directory is
gone though.
2014-07-21 22:56:32 -07:00

29 lines
705 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#encoding: utf-8
require('json')
# Because of build process, does not necessarily reflect directory path in the
# repository.
package = JSON.parse(File.read('../../package.json'))
gemspec = Gem::Specification.new do |s|
s.name = 'react-source'
s.version = package['version']
s.license = 'Apache-2.0'
s.homepage = 'https://github.com/facebook/react'
s.summary = 'Ruby bridge to JSX & the React JavaScript library.'
s.authors = ['Paul OShannessy']
s.email = ['paul@oshannessy.com']
s.files = Dir[
'build/react.js',
'build/react.min.js',
'build/react-with-addons.js',
'build/react-with-addons.min.js',
'build/JSXTransformer.js',
'lib/react/source.rb'
]
end