-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #382 from genebean/gem
Create a gem for puppet-editor-services
- Loading branch information
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
Gemfile.lock | ||
Gemfile.local | ||
*.gem | ||
log/ | ||
junit/ | ||
.vagrant/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'puppet_debugserver' | ||
|
||
PuppetDebugServer.init_puppet(PuppetDebugServer::CommandLineParser.parse(ARGV)) | ||
rpc_thread = PuppetDebugServer.rpc_server_async(PuppetDebugServer::CommandLineParser.parse(ARGV)) | ||
PuppetDebugServer.execute(rpc_thread) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'puppet_languageserver' | ||
|
||
PuppetLanguageServer.init_puppet(PuppetLanguageServer::CommandLineParser.parse(ARGV)) | ||
PuppetLanguageServer.rpc_server(PuppetLanguageServer::CommandLineParser.parse(ARGV)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env ruby | ||
# frozen_string_literal: true | ||
|
||
require 'puppet_languageserver_sidecar' | ||
|
||
PuppetLanguageServerSidecar.init_puppet_sidecar(PuppetLanguageServerSidecar::CommandLineParser.parse(ARGV)) | ||
PuppetLanguageServerSidecar.execute_and_output(PuppetLanguageServerSidecar::CommandLineParser.parse(ARGV)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# frozen_string_literal: true | ||
require_relative 'lib/puppet_editor_services/version' | ||
require 'rake' | ||
|
||
Gem::Specification.new do |s| | ||
s.name = 'puppet-editor-services' | ||
s.version = PuppetEditorServices.version | ||
s.authors = ['Puppet'] | ||
s.email = ['[email protected]'] | ||
s.summary = 'Puppet Language Server for editors' | ||
s.description = <<~EOF | ||
A ruby based implementation of a Language Server and Debug Server for the | ||
Puppet Language. Integrate this into your editor to benefit from full Puppet | ||
Language support, such as syntax hightlighting, linting, hover support and more. | ||
EOF | ||
s.homepage = 'https://github.com/puppetlabs/puppet-editor-services' | ||
s.required_ruby_version = '>= 2.7.0' | ||
s.executables = %w[ puppet-debugserver puppet-languageserver puppet-languageserver-sidecar ] | ||
s.files = FileList['lib/**/*.rb', | ||
'bin/*', | ||
'[A-Z]*'].to_a | ||
s.license = 'Apache-2.0' | ||
s.add_runtime_dependency 'puppet-lint' | ||
s.add_runtime_dependency 'hiera-eyaml' | ||
s.add_runtime_dependency 'puppetfile-resolver' | ||
s.add_runtime_dependency 'molinillo' | ||
s.add_runtime_dependency 'puppet-strings' | ||
s.add_runtime_dependency 'yard' | ||
end |