Skip to content

Commit

Permalink
Merge pull request EOSIO#102 from enumivo/staging
Browse files Browse the repository at this point in the history
rename various programs
  • Loading branch information
Enumivo authored May 15, 2018
2 parents e96a992 + 6f97a19 commit e335267
Show file tree
Hide file tree
Showing 23 changed files with 32 additions and 32 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ libraries/wasm-jit/Source/Programs/wavm
programs/cleos/cleos
programs/js_operation_serializer/js_operation_serializer
programs/data-dir
programs/eosio-abigen/eosio-abigen
programs/enu-abigen/enu-abigen
programs/cleos/config.hpp
programs/eosio-applesedemo/eosio-applesedemo
programs/eosio-launcher/config.hpp
programs/eosio-launcher/eosio-launcher
programs/enu-applesedemo/enu-applesedemo
programs/enu-launcher/config.hpp
programs/enu-launcher/enu-launcher
programs/keosd/keosd
programs/nodeos/config.hpp
programs/nodeos/nodeos
Expand Down
4 changes: 2 additions & 2 deletions CMakeModules/doxygen.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configure_file("eos.doxygen.in" "${CMAKE_BINARY_DIR}/eos.doxygen")
configure_file("enu.doxygen.in" "${CMAKE_BINARY_DIR}/enu.doxygen")

include(FindDoxygen)

Expand All @@ -20,7 +20,7 @@ else()
# Doxygen has issues making destination directories more than one level deep, so do it for it.
add_custom_target(make_doc_dir ALL COMMAND ${CMAKE_COMMAND} -E make_directory "${DOXY_DOC_DEST_DIR}")
add_custom_target(contract_documentation ALL
COMMAND "${DOXYGEN_EXECUTABLE}" "${CMAKE_BINARY_DIR}/eos.doxygen"
COMMAND "${DOXYGEN_EXECUTABLE}" "${CMAKE_BINARY_DIR}/enu.doxygen"
DEPENDS make_doc_dir
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}"
COMMENT "Building doxygen documentation into ${DOXY_DOC_DEST_DIR}..."
Expand Down
2 changes: 1 addition & 1 deletion contracts/dice/dice.abi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-03-29T02:09:11",
"____comment": "This file was generated by enu-abigen. DO NOT EDIT - 2018-03-29T02:09:11",
"types": [],
"structs": [{
"name": "offer",
Expand Down
2 changes: 1 addition & 1 deletion contracts/hello/hello.abi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-04-16T13:37:55",
"____comment": "This file was generated by enu-abigen. DO NOT EDIT - 2018-04-16T13:37:55",
"types": [],
"structs": [{
"name": "hi",
Expand Down
2 changes: 1 addition & 1 deletion contracts/payloadless/payloadless.abi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-04-19T09:07:16",
"____comment": "This file was generated by enu-abigen. DO NOT EDIT - 2018-04-19T09:07:16",
"types": [],
"structs": [{
"name": "doit",
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion eos.doxygen.in → enu.doxygen.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ DOXYFILE_ENCODING = UTF-8
PROJECT_NAME = "Enumivo"
PROJECT_NUMBER = "DAWN ${DOXY_ENU_VERSION}"
PROJECT_BRIEF =
PROJECT_LOGO = eos-logo.png
PROJECT_LOGO = enu-logo.png
OUTPUT_DIRECTORY =
CREATE_SUBDIRS = NO
ALLOW_UNICODE_NAMES = NO
Expand Down
6 changes: 3 additions & 3 deletions programs/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
add_subdirectory( nodeos )
add_subdirectory( cleos )
add_subdirectory( keosd )
add_subdirectory( eosio-launcher )
add_subdirectory( eosio-applesedemo )
add_subdirectory( eosio-abigen )
add_subdirectory( enu-launcher )
add_subdirectory( enu-applesedemo )
add_subdirectory( enu-abigen )
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ find_package(LLVM 4.0 REQUIRED CONFIG)

link_directories(${LLVM_LIBRARY_DIR})

add_executable(eosio-abigen ${SOURCES})
add_executable(enu-abigen ${SOURCES})

set( CMAKE_CXX_STANDARD 14 )

Expand All @@ -17,11 +17,11 @@ if( GPERFTOOLS_FOUND )
list( APPEND PLATFORM_SPECIFIC_LIBS tcmalloc )
endif()

target_link_libraries(eosio-abigen abi_generator)
target_link_libraries(enu-abigen abi_generator)


install( TARGETS
eosio-abigen
enu-abigen
RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ int main(int argc, const char **argv) { abi_def output; try {
to_variant(output, vabi);

auto comment = fc::format_string(
"This file was generated by eosio-abigen. DO NOT EDIT - ${ts}",
"This file was generated by enu-abigen. DO NOT EDIT - ${ts}",
mvo("ts",fc::time_point_sec(fc::time_point::now()).to_iso_string()));

auto abi_with_comment = mvo("____comment", comment)(mvo(vabi));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
if(APPLE)
add_executable( eosio-applesedemo main.cpp r1_signature_compactor.cpp )
add_executable( enu-applesedemo main.cpp r1_signature_compactor.cpp )


target_link_libraries( eosio-applesedemo
target_link_libraries( enu-applesedemo
PRIVATE fc ${PLATFORM_SPECIFIC_LIBS}
)

set_target_properties(eosio-applesedemo PROPERTIES LINK_FLAGS "-framework security -framework corefoundation")
set_target_properties(enu-applesedemo PROPERTIES LINK_FLAGS "-framework security -framework corefoundation")

#Demostration of signing automatically during build; you will need to change parameters for your signing credentials
#[[
add_custom_command(TARGET eosio-applesedemo POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sign.sh C5139C2C4D7FA071EFBFD86CE44B652631C9376A 5A4683969Z.one.block.eosio-applesedemo /Users/spoon/Library/MobileDevice/Provisioning\ Profiles/95813ad5-e880-432f-85c6-ade3b3298392.provisionprofile
add_custom_command(TARGET enu-applesedemo POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sign.sh C5139C2C4D7FA071EFBFD86CE44B652631C9376A 5A4683969Z.one.block.enu-applesedemo /Users/spoon/Library/MobileDevice/Provisioning\ Profiles/95813ad5-e880-432f-85c6-ade3b3298392.provisionprofile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)
]]

install( TARGETS
eosio-applesedemo
enu-applesedemo

RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
add_executable( eosio-launcher main.cpp )
add_executable( enu-launcher main.cpp )
if( UNIX AND NOT APPLE )
set(rt_library rt )
endif()
Expand Down Expand Up @@ -26,13 +26,13 @@ endif()

configure_file(config.hpp.in config.hpp ESCAPE_QUOTES)

target_include_directories(eosio-launcher PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(enu-launcher PUBLIC ${CMAKE_CURRENT_BINARY_DIR})

target_link_libraries(eosio-launcher
target_link_libraries(enu-launcher
PRIVATE eosio_chain fc ${CMAKE_DL_LIBS} ${PLATFORM_SPECIFIC_LIBS} )

install( TARGETS
eosio-launcher
enu-launcher

RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_FULL_LIBDIR}
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/p2p_tests/sync/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ else
fi

total_nodes="${total_nodes:-`echo $pnodes`}"
launcherPath="programs/eosio-launcher/eosio-launcher"
launcherPath="programs/enu-launcher/enu-launcher"
clientPath="programs/cleos/cleos"

rm -rf etc/eosio/node_* var/lib/* stage
Expand Down
2 changes: 1 addition & 1 deletion tests/testUtils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Utils:
EosServerName="nodeos"
EosServerPath="programs/nodeos/"+ EosServerName

EosLauncherPath="programs/eosio-launcher/eosio-launcher"
EosLauncherPath="programs/enu-launcher/enu-launcher"
MongoPath="mongo"

@staticmethod
Expand Down
4 changes: 2 additions & 2 deletions tests/trans_sync_across_mixed_cluster_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ verifyErrorCode()

killAll()
{
programs/eosio-launcher/eosio-launcher -k 15
programs/enu-launcher/enu-launcher -k 15
}

cleanup()
Expand Down Expand Up @@ -114,7 +114,7 @@ cleanup
# stand up nodeos cluster
launcherOpts="-p $pnodes -n $total_nodes -s $topo -d $delay"
echo Launcher options: --nodeos \"--plugin eosio::wallet_api_plugin\" $launcherOpts
programs/eosio-launcher/eosio-launcher --nodeos "--plugin eosio::wallet_api_plugin" $launcherOpts
programs/enu-launcher/enu-launcher --nodeos "--plugin eosio::wallet_api_plugin" $launcherOpts
sleep 7

startPort=8888
Expand Down
2 changes: 1 addition & 1 deletion tools/eosiocpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ if [ "${ENUMIVO_BIN_INSTALL_DIR}" == "." ]; then
ENUMIVO_BIN_INSTALL_DIR=`pwd`
fi
ENUMIVO_INSTALL_DIR=`dirname ${ENUMIVO_BIN_INSTALL_DIR}`
ABIGEN=${ENUMIVO_INSTALL_DIR}/bin/eosio-abigen
ABIGEN=${ENUMIVO_INSTALL_DIR}/bin/enu-abigen
BOOST_INCLUDE_DIR=@Boost_INCLUDE_DIR@
function copy_skeleton {
set -e
Expand Down

0 comments on commit e335267

Please sign in to comment.