good morning!!!!
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
bor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open
bor
Commits
4c16c825
Unverified
Commit
4c16c825
authored
8 years ago
by
Péter Szilágyi
Browse files
Options
Downloads
Patches
Plain Diff
travis, build: cocoapods build fixes and travis caches
parent
5513c49c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.travis.yml
+9
-0
9 additions, 0 deletions
.travis.yml
build/ci.go
+1
-1
1 addition, 1 deletion
build/ci.go
build/pod.podspec
+1
-1
1 addition, 1 deletion
build/pod.podspec
mobile/init.go
+7
-1
7 additions, 1 deletion
mobile/init.go
with
18 additions
and
3 deletions
.travis.yml
+
9
−
0
View file @
4c16c825
...
@@ -59,6 +59,10 @@ matrix:
...
@@ -59,6 +59,10 @@ matrix:
env
:
env
:
-
azure-osx
-
azure-osx
-
mobile
-
mobile
cache
:
directories
:
-
$HOME/.android.platforms
-
$HOME/.cocoapods
script
:
script
:
-
go run build/ci.go install
-
go run build/ci.go install
-
go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
-
go run build/ci.go archive -type tar -signer OSX_SIGNING_KEY -upload gethstore/builds
...
@@ -71,8 +75,13 @@ matrix:
...
@@ -71,8 +75,13 @@ matrix:
-
brew update
-
brew update
-
brew install android-sdk maven
-
brew install android-sdk maven
-
export ANDROID_HOME=/usr/local/opt/android-sdk
-
export ANDROID_HOME=/usr/local/opt/android-sdk
-
mkdir -p $ANDROID_HOME/platforms
-
mv -f $HOME/.android.platforms $ANDROID_HOME/platforms
-
echo "y" | android update sdk --no-ui --filter platform
-
echo "y" | android update sdk --no-ui --filter platform
-
go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
-
go run build/ci.go aar -signer ANDROID_SIGNING_KEY -deploy https://oss.sonatype.org -upload gethstore/builds
-
mv -f $ANDROID_HOME/platforms $HOME/.android.platforms
install
:
install
:
-
go get golang.org/x/tools/cmd/cover
-
go get golang.org/x/tools/cmd/cover
...
...
This diff is collapsed.
Click to expand it.
build/ci.go
+
1
−
1
View file @
4c16c825
...
@@ -799,7 +799,7 @@ func doXCodeFramework(cmdline []string) {
...
@@ -799,7 +799,7 @@ func doXCodeFramework(cmdline []string) {
if
*
deploy
!=
""
{
if
*
deploy
!=
""
{
meta
:=
newPodMetadata
(
env
)
meta
:=
newPodMetadata
(
env
)
build
.
Render
(
"build/pod.podspec"
,
meta
.
Name
+
".podspec"
,
0755
,
meta
)
build
.
Render
(
"build/pod.podspec"
,
meta
.
Name
+
".podspec"
,
0755
,
meta
)
build
.
MustRunCommand
(
"pod"
,
*
deploy
,
"push"
,
meta
.
Name
+
".podspec"
)
build
.
MustRunCommand
(
"pod"
,
*
deploy
,
"push"
,
meta
.
Name
+
".podspec"
,
"--allow-warnings"
)
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
build/pod.podspec
+
1
−
1
View file @
4c16c825
...
@@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
...
@@ -17,6 +17,6 @@ Pod::Spec.new do |spec|
curl https://gethstore.blob.core.windows.net/builds/geth-ios-all-{{.Version}}.tar.gz | tar -xvz
curl https://gethstore.blob.core.windows.net/builds/geth-ios-all-{{.Version}}.tar.gz | tar -xvz
mkdir Frameworks
mkdir Frameworks
mv geth-ios-all-{{.Version}}/Geth.framework Frameworks
mv geth-ios-all-{{.Version}}/Geth.framework Frameworks
rm geth-ios-all-{{.Version}}
rm
-rf
geth-ios-all-{{.Version}}
CMD
CMD
end
end
This diff is collapsed.
Click to expand it.
mobile/
glog
.go
→
mobile/
init
.go
+
7
−
1
View file @
4c16c825
...
@@ -14,16 +14,22 @@
...
@@ -14,16 +14,22 @@
// You should have received a copy of the GNU Lesser General Public License
// You should have received a copy of the GNU Lesser General Public License
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// along with the go-ethereum library. If not, see <http://www.gnu.org/licenses/>.
// Contains
wrappers and init
code for the
logger
.
// Contains
initialization
code for the
mbile library
.
package
geth
package
geth
import
(
import
(
"runtime"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger"
"github.com/ethereum/go-ethereum/logger/glog"
"github.com/ethereum/go-ethereum/logger/glog"
)
)
func
init
()
{
func
init
()
{
// Initialize the logger
glog
.
SetV
(
logger
.
Info
)
glog
.
SetV
(
logger
.
Info
)
glog
.
SetToStderr
(
true
)
glog
.
SetToStderr
(
true
)
// Initialize the goroutine count
runtime
.
GOMAXPROCS
(
runtime
.
NumCPU
())
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment