Commit 7681a7e
committed
Handle additional edge cases in puppet.gemspec
Previously, running `gem build puppet.gemspec` on windows included the
windows-specific runtime dependencies in the "ruby" puppet-<version>.gem,
because of the `Gem.win_platform?` condition.
Now add the runtime dependencies if we're running on that platform via bundler.
or if we're building a gem for that platform. In the latter case, it doesn't
matter which platform we're running on.
This also relaxes the darwin and mingw platforms, to future proof against other
variations of darwin and mingw ucrt.1 parent 2d332ce commit 7681a7e
1 file changed
+10
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
35 | 41 | | |
36 | | - | |
| 42 | + | |
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | | - | |
| 46 | + | |
41 | 47 | | |
42 | 48 | | |
43 | 49 | | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
| 52 | + | |
46 | 53 | | |
47 | 54 | | |
48 | 55 | | |
0 commit comments