Skip to content

Commit

Permalink
Merge pull request EOSIO#109 from enumivo/staging
Browse files Browse the repository at this point in the history
remove hyphens in program names
  • Loading branch information
Enumivo authored May 16, 2018
2 parents 524db6d + 4c8e9b5 commit e82a2b7
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 29 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/enucli/enucli
programs/js_operation_serializer/js_operation_serializer
programs/data-dir
programs/enu-abigen/enu-abigen
programs/enugenabi/enugenabi
programs/enucli/config.hpp
programs/enu-applesedemo/enu-applesedemo
programs/enu-launcher/config.hpp
programs/enu-launcher/enu-launcher
programs/enuapplesedemo/enuapplesedemo
programs/enulauncher/config.hpp
programs/enulauncher/enulauncher
programs/enuwallet/enuwallet
programs/enunode/config.hpp
programs/enunode/enunode
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 enu-abigen. DO NOT EDIT - 2018-03-29T02:09:11",
"____comment": "This file was generated by enugenabi. 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 enu-abigen. DO NOT EDIT - 2018-04-16T13:37:55",
"____comment": "This file was generated by enugenabi. 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 enu-abigen. DO NOT EDIT - 2018-04-19T09:07:16",
"____comment": "This file was generated by enugenabi. DO NOT EDIT - 2018-04-19T09:07:16",
"types": [],
"structs": [{
"name": "doit",
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( enunode )
add_subdirectory( enucli )
add_subdirectory( enuwallet )
add_subdirectory( enu-launcher )
add_subdirectory( enu-applesedemo )
add_subdirectory( enu-abigen )
add_subdirectory( enulauncher )
add_subdirectory( enuapplesedemo )
add_subdirectory( enugenabi )
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
if(APPLE)
add_executable( enu-applesedemo main.cpp r1_signature_compactor.cpp )
add_executable( enuapplesedemo main.cpp r1_signature_compactor.cpp )


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

set_target_properties(enu-applesedemo PROPERTIES LINK_FLAGS "-framework security -framework corefoundation")
set_target_properties(enuapplesedemo 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 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
add_custom_command(TARGET enuapplesedemo POST_BUILD
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/sign.sh C5139C2C4D7FA071EFBFD86CE44B652631C9376A 5A4683969Z.one.block.enuapplesedemo /Users/spoon/Library/MobileDevice/Provisioning\ Profiles/95813ad5-e880-432f-85c6-ade3b3298392.provisionprofile
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
VERBATIM
)
]]

install( TARGETS
enu-applesedemo
enuapplesedemo

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
Expand Up @@ -3,7 +3,7 @@ find_package(LLVM 4.0 REQUIRED CONFIG)

link_directories(${LLVM_LIBRARY_DIR})

add_executable(enu-abigen ${SOURCES})
add_executable(enugenabi ${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(enu-abigen abi_generator)
target_link_libraries(enugenabi abi_generator)


install( TARGETS
enu-abigen
enugenabi
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 enu-abigen. DO NOT EDIT - ${ts}",
"This file was generated by enugenabi. 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,4 +1,4 @@
add_executable( enu-launcher main.cpp )
add_executable( enulauncher 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(enu-launcher PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
target_include_directories(enulauncher PUBLIC ${CMAKE_CURRENT_BINARY_DIR})

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

install( TARGETS
enu-launcher
enulauncher

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/enu-launcher/enu-launcher"
launcherPath="programs/enulauncher/enulauncher"
clientPath="programs/enucli/enucli"

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="enunode"
EosServerPath="programs/enunode/"+ EosServerName

EosLauncherPath="programs/enu-launcher/enu-launcher"
EosLauncherPath="programs/enulauncher/enulauncher"
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/enu-launcher/enu-launcher -k 15
programs/enulauncher/enulauncher -k 15
}

cleanup()
Expand Down Expand Up @@ -114,7 +114,7 @@ cleanup
# stand up enunode cluster
launcherOpts="-p $pnodes -n $total_nodes -s $topo -d $delay"
echo Launcher options: --enunode \"--plugin eosio::wallet_api_plugin\" $launcherOpts
programs/enu-launcher/enu-launcher --enunode "--plugin eosio::wallet_api_plugin" $launcherOpts
programs/enulauncher/enulauncher --enunode "--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/enu-abigen
ABIGEN=${ENUMIVO_INSTALL_DIR}/bin/enugenabi
BOOST_INCLUDE_DIR=@Boost_INCLUDE_DIR@
function copy_skeleton {
set -e
Expand Down

0 comments on commit e82a2b7

Please sign in to comment.