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
8f408534
Commit
8f408534
authored
Apr 26, 2015
by
Michał Siwek
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #76 from blitzrk/master
Fixed go package to correctly build and uninstall
parents
39a43dac
5c794426
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
packages/go.rb
packages/go.rb
+8
-2
No files found.
packages/go.rb
View file @
8f408534
...
...
@@ -6,10 +6,16 @@ class Go < Package
source_sha1
'c7a683e8d39b835e333199d68d0c0baefcd24a68'
def
self
.
build
system
"sudo cp -r ../go /usr/local/lib/"
system
"./usr/local/lib/go/all.bash"
FileUtils
.
cd
(
'src'
)
do
system
"./all.bash"
end
end
def
self
.
install
dest
=
"
#{
CREW_DEST_DIR
}
/usr/local/lib/"
system
"mkdir"
,
"-p"
,
dest
FileUtils
.
mv
Dir
.
pwd
,
dest
puts
"--------"
puts
"Installed Go for linux/amd64 in /usr/local/lib/go"
puts
"Make sure to set go environment variables."
...
...
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