aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-04-28 04:20:57 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-04-28 04:20:57 +0800
commit189c0d460ba316f613388b22ca6108f757eabca6 (patch)
tree95ad261d78f2d40e4463de7ee4e259fe710fb98a
parent81d7d0874e16584754dabe466d7c2e403571bacf (diff)
downloaddexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar.gz
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar.bz2
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar.lz
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar.xz
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.tar.zst
dexon-solidity-189c0d460ba316f613388b22ca6108f757eabca6.zip
cleanup, libjsengine
-rw-r--r--CMakeLists.txt4
-rw-r--r--libethconsole/CMakeLists.txt7
-rw-r--r--libethconsole/JSV8ScopeBase.cpp21
3 files changed, 2 insertions, 30 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2413fc0a..349ca980 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -25,7 +25,7 @@ add_subdirectory(libethereum)
add_subdirectory(libevm)
add_subdirectory(libnatspec)
add_subdirectory(libp2p)
-add_subdirectory(libethconsole)
+add_subdirectory(libjsengine)
if (SOLIDITY)
add_subdirectory(libsolidity)
@@ -68,7 +68,7 @@ target_link_libraries(testeth ${CURL_LIBRARIES})
target_link_libraries(testeth ethereum)
target_link_libraries(testeth ethcore)
target_link_libraries(testeth secp256k1)
-target_link_libraries(testeth ethconsole)
+target_link_libraries(testeth jsengine)
if (SOLIDITY)
target_link_libraries(testeth solidity)
endif ()
diff --git a/libethconsole/CMakeLists.txt b/libethconsole/CMakeLists.txt
deleted file mode 100644
index 610c5888..00000000
--- a/libethconsole/CMakeLists.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-cmake_policy(SET CMP0015 NEW)
-
-aux_source_directory(. SRCS)
-
-add_sources(${SRCS})
-
-
diff --git a/libethconsole/JSV8ScopeBase.cpp b/libethconsole/JSV8ScopeBase.cpp
deleted file mode 100644
index 5bd7bf6a..00000000
--- a/libethconsole/JSV8ScopeBase.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// Created by Marek Kotewicz on 27/04/15.
-//
-
-#include <boost/test/unit_test.hpp>
-#include "../../libethconsole/JSV8ScopeBase.h"
-
-using namespace std;
-using namespace dev;
-using namespace dev::eth;
-
-BOOST_AUTO_TEST_SUITE(jsscope)
-
-BOOST_AUTO_TEST_CASE(common)
-{
- JSV8ScopeBase scope;
- string result = scope.evaluate("1 + 1");
- BOOST_CHECK_EQUAL(result, "2");
-}
-
-BOOST_AUTO_TEST_SUITE_END()