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
f62f2987
Commit
f62f2987
authored
May 11, 2018
by
Daniel Baldwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes #2339 where the cd into the extracted cargo directory is lost hen running the build
parent
7601e1a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
packages/kr.rb
packages/kr.rb
+4
-2
No files found.
packages/kr.rb
View file @
f62f2987
...
...
@@ -28,8 +28,10 @@ class Kr < Package
system
"curl -Ls https://github.com/koute/cargo-web/archive/
#{
cargo_web_version
}
.zip -o cargo-web.zip"
abort
"Checksum mismatch. :/ Try again."
.
lightred
unless
Digest
::
SHA256
.
hexdigest
(
File
.
read
(
"cargo-web.zip"
)
)
==
"
#{
cargo_web_sha256
}
"
system
"unzip cargo-web.zip && cd cargo-web-
#{
cargo_web_version
}
"
system
"cargo build --release && cargo install"
system
"unzip cargo-web.zip"
FileUtils
.
cd
(
"cargo-web-
#{
cargo_web_version
}
"
)
do
system
"cargo build --release && cargo install"
end
system
"mkdir -p
#{
Dir
.
pwd
}
/go/src"
system
"go get github.com/kryptco/kr"
...
...
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