File tree 2 files changed +5
-6
lines changed 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,6 @@ RUN ./build-monolith ${NODE_VERSION}
19
19
COPY inject-libv8 /code/
20
20
RUN ./inject-libv8 ${NODE_VERSION}
21
21
22
- # without this `COPY .git`, we get the following error:
23
- # fatal: not a git repository (or any of the parent directories): .git
24
- # but with it we need the full gem just to compile the extension because
25
- # of gemspec's `git --ls-files`
26
- # COPY .git /code/.git
27
22
COPY Gemfile libv8-node.gemspec /code/
28
23
COPY lib/libv8/node/version.rb /code/lib/libv8/node/version.rb
29
24
RUN bundle install
Original file line number Diff line number Diff line change @@ -12,7 +12,11 @@ Gem::Specification.new do |s|
12
12
s . description = "Node.JS's V8 JavaScript engine for multiplatform goodness"
13
13
s . license = 'MIT'
14
14
15
- s . files = `git ls-files` . split ( "\n " )
15
+ s . files = Dir [ 'ext/**/*.rb' ] +
16
+ Dir [ 'lib/**/*.rb' ] +
17
+ Dir [ 'libexec/*' ] +
18
+ Dir [ 'patch/*' ] +
19
+ [ 'LICENSE' , 'README.md' , 'CHANGELOG.md' ]
16
20
17
21
s . extensions = [ 'ext/libv8-node/extconf.rb' ]
18
22
s . require_paths = [ 'lib' , 'ext' ]
You can’t perform that action at this time.
0 commit comments