This repository has been archived by the owner on Mar 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DEV-20 Adding version tagging to release. Create OSX package. Make re… (
#30)
- Loading branch information
amastracci
committed
May 15, 2018
1 parent
be97115
commit d51a895
Showing
11 changed files
with
100 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,8 @@ if (UNIX AND NOT APPLE) | |
endif() | ||
endif() | ||
|
||
if (APPLE) | ||
add_subdirectory(osx) | ||
endif() | ||
|
||
add_subdirectory(docker) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
{ | ||
"listener_address" : "0.0.0.0", | ||
"listener_port" : ${SWARM_PORT}, | ||
"listener_port" : 51010, | ||
"ethereum" : "0x006eae72077449caca91078ef78552c0cd9bce8f", | ||
"bootstrap_url" : "${SWARM_BOOTSTRAP_URL}", | ||
"uuid" : "${SWARM_UUID}", | ||
"debug_logging" : true, | ||
"bootstrap_url" : "${NODE_BOOTSTRAP_URL}", | ||
"uuid" : "${NODE_UUID}", | ||
"debug_logging" : ${NODE_DEBUG_LOGGING}, | ||
"log_to_stdout" : true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
message( "Building version: ${PROJECT_VERSION}..." ) | ||
|
||
set(CPACK_PACKAGE_VENDOR "Bluzelle") | ||
set(CPACK_PACKAGE_CONTACT "devops@bluzelle.com") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Bluzelle decentralized database node.") | ||
set(CPACK_PACKAGE_NAME "bluzelle-swarmdb") | ||
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) | ||
set(CPACK_PACKAGE_VERSION_MAJOR ${PROJECT_VERSION_MAJOR}) | ||
set(CPACK_PACKAGE_VERSION_MINOR ${PROJECT_VERSION_MINOR}) | ||
set(CPACK_PACKAGE_VERSION_PATCH ${PROJECT_VERSION_PATCH}) | ||
|
||
set(CPACK_SYSTEM_NAME "amd64") | ||
|
||
set(CPACK_GENERATOR "TGZ") | ||
set(CPACK_PACKAGE_FILE_NAME ${CPACK_PACKAGE_NAME}_${PROJECT_VERSION}_darwin_${CPACK_SYSTEM_NAME}) | ||
|
||
INCLUDE(CPack) | ||
|
||
set(DESTINATION_DIR ./) | ||
|
||
install(PROGRAMS "${PROJECT_BINARY_DIR}/output/swarm" DESTINATION "./") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# version for swarm | ||
set(PROJECT_VERSION_MAJOR 0 CACHE STRING "Set the project major version") | ||
set(PROJECT_VERSION_MINOR 0 CACHE STRING "Set the project minor version") | ||
set(PROJECT_VERSION_PATCH "0-desk" CACHE STRING "Set the project patch version") | ||
set(PROJECT_VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// Copyright (C) 2018 Bluzelle | ||
// | ||
// This program is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU Affero General Public License, version 3, | ||
// as published by the Free Software Foundation. | ||
// | ||
// This program is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU Affero General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU Affero General Public License | ||
// along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
#pragma once | ||
|
||
#define SWARM_VERSION "@PROJECT_VERSION@" |