mirror of
https://github.com/ditkrg/rswag.git
synced 2026-01-22 22:06:43 +00:00
Tweak rswag-ui.gemspec to include node_modules
This commit is contained in:
parent
0c49c7e667
commit
efdfee5110
@ -44,9 +44,7 @@ jobs:
|
||||
tags: true
|
||||
|
||||
- stage: publish components
|
||||
script:
|
||||
- 'cd rswag-ui'
|
||||
- 'npm install'
|
||||
script: 'cd rswag-ui'
|
||||
deploy:
|
||||
gemspec: rswag-ui.gemspec
|
||||
provider: rubygems
|
||||
|
||||
@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
||||
s.description = "Expose beautiful API documentation, that's powered by Swagger JSON endpoints, including a UI to explore and test operations"
|
||||
s.license = "MIT"
|
||||
|
||||
s.files = Dir["{lib,node_modules}/**/*"] + ["MIT-LICENSE", "Rakefile" ]
|
||||
s.files = Dir.glob("{lib,node_modules}/**/*") + ["MIT-LICENSE", "Rakefile" ]
|
||||
|
||||
s.add_dependency 'actionpack', '>=3.1', '< 6.0'
|
||||
s.add_dependency 'railties', '>= 3.1', '< 6.0'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user