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
5c794426
Commit
5c794426
authored
9 years ago
by
Ben Krieger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed go package to correctly build and uninstall
parent
39a43dac
Changes
1
Show 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 @
5c794426
...
...
@@ -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."
...
...
This diff is collapsed.
Click to expand it.
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