Skip to content

Commit

Permalink
Duktype initial
Browse files Browse the repository at this point in the history
  • Loading branch information
TomMettam committed May 9, 2020
0 parents commit 13a7fc7
Show file tree
Hide file tree
Showing 1,037 changed files with 497,230 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.idea/workspace.xml
.idea/usage.statistics.xml
.idea/tasks.xml
.travis.yml
/node_modules
/dist
/cmake-build-debug
/cmake-build-release
build/
1 change: 1 addition & 0 deletions .idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

63 changes: 63 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/duktape.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
tsconfig.json
tslint.json
.travis.yml
ts/
cmake-build-debug/
build/
dist/
README.MD
.npmignore
.gitignore
.idea
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: node_js

node_js: "12"

before_script:
- npm run setup
- npm run build

after_success:
- npm pack
29 changes: 29 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
cmake_minimum_required(VERSION 3.7)

project(duktype)
set(CMAKE_CXX_STANDARD 17)
include(NodeJS.cmake)
nodejs_init()

add_library(duktape duktape/src/duktape.c duktape/src/duktape.h duktape/src/duk_config.h)
target_include_directories(duktape INTERFACE SYSTEM duktape/src)

add_nodejs_module(${PROJECT_NAME}
main.cpp
src/context.cpp
src/context.h
src/duktype/Context.h
src/duktype/Context.cpp
src/duktype/Scope.cpp
src/duktype/Scope.h
src/scope.cpp
src/scope.h
src/duktype/CallbackData.h
src/duktype/DebugStack.h
src/duktype/ContextStack.h
src/duktype/Utils.cpp
src/duktype/Utils.h
src/duktype/ExecutionContext.h
src/duktype/ExecutionContext.cpp
)
target_link_libraries(${PROJECT_NAME} duktape)
Loading

0 comments on commit 13a7fc7

Please sign in to comment.