Merge pull request #276 from status-im/feature/status-go-ios-dependency

status-go dependency for ios build
This commit is contained in:
adrian-tiberius 2016-09-28 17:09:30 +03:00 committed by GitHub
commit bbc2e957d8
12 changed files with 43 additions and 141 deletions

6
.gitignore vendored
View File

@ -48,7 +48,8 @@ target/
# Generated by lein voom
#
pom.xml
/pom.xml
# Figwheel
#
@ -66,3 +67,6 @@ doo-index.html
# Re-natal
re-natal
# status-go
Statusgo.framework

View File

@ -1,38 +0,0 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.reactjs.native.example</groupId>
<artifactId>Messenger</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>ci.status.im</id>
<url>http://ci.status.im:8081/artifactory/libs-release-local/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<configuration>
<artifactItems>
<artifactItem>
<groupId>status-im</groupId>
<artifactId>ios-geth</artifactId>
<version>1.4.0-201603151613-92d65cf</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>${project.build.directory}/Frameworks</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1 +0,0 @@
Versions/A/Headers

View File

@ -1 +0,0 @@
Versions/A/Modules

View File

@ -1 +0,0 @@
Versions/A/Resources

View File

@ -1 +0,0 @@
Versions/A/Statusgo

View File

@ -1,87 +0,0 @@
/* Created by "go tool cgo" - DO NOT EDIT. */
/* package github.com/status-im/status-go/cmd/status */
/* Start of preamble from import "C" comments. */
/* End of preamble from import "C" comments. */
/* Start of boilerplate cgo prologue. */
#ifndef GO_CGO_PROLOGUE_H
#define GO_CGO_PROLOGUE_H
typedef signed char GoInt8;
typedef unsigned char GoUint8;
typedef short GoInt16;
typedef unsigned short GoUint16;
typedef int GoInt32;
typedef unsigned int GoUint32;
typedef long long GoInt64;
typedef unsigned long long GoUint64;
typedef GoInt64 GoInt;
typedef GoUint64 GoUint;
typedef __SIZE_TYPE__ GoUintptr;
typedef float GoFloat32;
typedef double GoFloat64;
typedef float _Complex GoComplex64;
typedef double _Complex GoComplex128;
/*
static assertion to make sure the file is being used on architecture
at least with matching size of GoInt.
*/
typedef char _check_for_64_bit_pointer_matching_GoInt[sizeof(void*)==64/8 ? 1:-1];
typedef struct { const char *p; GoInt n; } GoString;
typedef void *GoMap;
typedef void *GoChan;
typedef struct { void *t; void *v; } GoInterface;
typedef struct { void *data; GoInt len; GoInt cap; } GoSlice;
#endif
/* End of boilerplate cgo prologue. */
#ifdef __cplusplus
extern "C" {
#endif
extern char* CreateAccount(char* p0);
extern char* CreateChildAccount(char* p0, char* p1);
extern char* RecoverAccount(char* p0, char* p1);
extern char* Login(char* p0, char* p1);
extern char* Logout();
extern char* UnlockAccount(char* p0, char* p1, GoInt p2);
extern char* CompleteTransaction(char* p0, char* p1);
extern char* StartNode(char* p0);
extern void InitJail(char* p0);
extern char* Parse(char* p0, char* p1);
extern char* Call(char* p0, char* p1, char* p2);
extern char* AddPeer(char* p0);
extern char* AddWhisperFilter(char* p0);
extern void RemoveWhisperFilter(GoInt p0);
extern void ClearWhisperFilters();
#ifdef __cplusplus
}
#endif

View File

@ -1,4 +0,0 @@
framework module "Statusgo" {
header "Statusgo.h"
export *
}

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

View File

@ -0,0 +1,38 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.reactjs.native.example</groupId>
<artifactId>Messenger</artifactId>
<version>1.0-SNAPSHOT</version>
<repositories>
<repository>
<id>ci.status.im</id>
<url>http://139.162.11.12:8081/artifactory/libs-release-local/</url>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<configuration>
<artifactItems>
<artifactItem>
<groupId>status-im</groupId>
<artifactId>status-go-ios</artifactId>
<version>0.1.2</version>
<type>zip</type>
<overWrite>true</overWrite>
<outputDirectory>./</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</plugin>
</plugins>
</build>
</project>