Skip to content

Commit ac71908

Browse files
authored
Merge pull request #9 from JoyStream/development
dev to master - release v0.1.2
2 parents 56e3b3a + 7f19c9e commit ac71908

7 files changed

Lines changed: 45 additions & 8 deletions

File tree

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2015-2017 JoyStream AS
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# ProtocolWire
33
C++ wire library for the JoyStream extension protocol, as specified [here](http://#).
44

5-
Current published release: `ProtocolWire/0.1.1@joystream/stable`
5+
conan package name: `ProtocolWire/0.1.2@joystream/stable`
66

77
### Dependencies
88

@@ -26,4 +26,5 @@ sh run_tests.sh
2626

2727
## License & Copyright
2828

29-
`...add later...`
29+
JoyStream protocol_wire library is released under the terms of the MIT license.
30+
See [LICENSE](LICENCE) for more information.

conan_package/base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@
33

44
class ProtocolWireBase(ConanFile):
55
name = "ProtocolWire"
6-
version = "0.1.1"
6+
version = "0.1.2"
77
license = "(c) JoyStream Inc. 2016-2017"
88
url = "https://github.com/JoyStream/protocol_wire-cpp.git"
9-
git_repo = "git@github.com:JoyStream/protocol_wire-cpp.git"
9+
repo_ssh_url = "git@github.com:JoyStream/protocol_wire-cpp.git"
10+
repo_https_url = "https://github.com/JoyStream/protocol_wire-cpp.git"
1011
settings = "os", "compiler", "build_type", "arch"
1112
generators = "cmake"
12-
requires = "Common/0.1.1@joystream/stable"
13+
requires = "Common/0.1.2@joystream/stable"
1314
build_policy = "missing"
1415

1516
def source(self):
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from base import ProtocolWireBase
2+
3+
# Use this recipe when creating recipies for uploading to joystream conan repo on stable channel
4+
# Source will be fetched from github repo
5+
6+
class ProtocolWireRelease(ProtocolWireBase):
7+
exports = "base.py"
8+
9+
# make extra sure no sources are exported by base package
10+
exports_sources = ""
11+
12+
def source(self):
13+
self.run("git clone %s repo" % self.repo_https_url)
14+
self.run("cd repo && git checkout v%s" % self.version)

conan_package/release_fetches_source.py renamed to conan_package/release_fetches_source_ssh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ class ProtocolWireRelease(ProtocolWireBase):
1010
exports_sources = ""
1111

1212
def source(self):
13-
self.run("git clone %s repo" % self.git_repo)
13+
self.run("git clone %s repo" % self.repo_ssh_url)
1414
self.run("cd repo && git checkout v%s" % self.version)

conan_package/test_package/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PROJECT(PackageTest)
2-
cmake_minimum_required(VERSION 2.8.12)
2+
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
33

44
set(CMAKE_CXX_STANDARD 11)
55

sources/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
22

33
project(ProtocolWire CXX)
44

0 commit comments

Comments
 (0)