Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
c9d45fc8
Commit
c9d45fc8
authored
May 23, 2019
by
Chris Thurber
Committed by
Ed Reel
May 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add sshcode package. (#3287)
parent
b9609771
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
0 deletions
+30
-0
packages/sshcode.rb
packages/sshcode.rb
+30
-0
No files found.
packages/sshcode.rb
0 → 100644
View file @
c9d45fc8
require
'package'
class
Sshcode
<
Package
description
'Run VS Code on any server over SSH.'
homepage
'https://github.com/cdr/sshcode'
version
'0.8.0'
source_url
'https://raw.githubusercontent.com/cdr/sshcode/v0.8.0/README.md'
source_sha256
'5bd544d9d7e8ebf0b48934a04b55b64802e23189a70410ccab2833c2435e6736'
binary_url
({
})
binary_sha256
({
})
depends_on
'go'
=>
:build
def
self
.
install
system
"go get go.coder.com/sshcode"
system
"cd ~/go/src/go.coder.com/sshcode && git checkout tags/v0.8.0"
system
"go build -o
#{
CREW_DEST_PREFIX
}
/bin/sshcode go.coder.com/sshcode"
end
def
self
.
postinstall
# https://github.com/cdr/sshcode/pull/82
puts
'To use sshcode you need to bind the webserver to 0.0.0.0:<port>'
.
lightgreen
puts
'For example: sshcode --skipsync --bind 0.0.0.0:8080 [remote-ssh-ip]'
.
lightgreen
puts
'Syncing extensions does not work at this time.'
.
lightgreen
puts
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment