Skip to content

Commit

Permalink
publish: 6.22.31
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Aug 7, 2019
1 parent b0eefc0 commit 8a05150
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.6)

set(ASYNCIFY OFF)
set(EMTERPRETIFY ON)
set(ASYNCIFY ON)
set(EMTERPRETIFY OFF)

if(${EMSCRIPTEN})
set(OPT_FLAG "-O3")
set(OPT_FLAG "-Oz")
set(USE_PORTS "-s USE_ZLIB=1")
set(CMAKE_C_FLAGS "${OPT_FLAG} -w -Werror=return-type ${USE_PORTS}")
set(CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS} ${USE_PORTS}")
Expand All @@ -30,7 +30,7 @@ if(${EMSCRIPTEN})
add_definitions(-DEMSCRIPTEN)

if(ASYNCIFY)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s ASYNCIFY")
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s ASYNCIFY -s ASYNCIFY_WHITELIST=@${CMAKE_CURRENT_LIST_DIR}/js-dos-cpp/asyncify.txt")
# -s ASYNCIFY_IGNORE_INDIRECT \
elseif(EMTERPRETIFY)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -s EMTERPRETIFY=1 -s EMTERPRETIFY_ASYNC=1 -s EMTERPRETIFY_WHITELIST=@${CMAKE_CURRENT_LIST_DIR}/js-dos-cpp/emterpretify.txt")
Expand Down
10 changes: 5 additions & 5 deletions dist/docs/api/js-dos-ts/js-dos-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ gulpfile.js --> generateBuildInfo
```
export const Build = {
version: "6.22.30 (a7b59eaf2e131f1b5328a04f3c33a613)",
jsVersion: "7a9b47b1c3ba95d95d4d2bb58b9248ae603f7479",
jsSize: 502767,
wasmVersion: "8ec72e090a255b8554388f6b0d12602c",
wasmSize: 2297225,
version: "6.22.31 (d0c777fff2df3c2553a8b769a86eca06)",
jsVersion: "b0eefc097d2c5270a1a463700335826f156460ea",
jsSize: 196977,
wasmVersion: "03ff8f9208bc11b041bebc7cce39e56d",
wasmSize: 1810179,
};
Expand Down
10 changes: 5 additions & 5 deletions js-dos-ts/js-dos-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
// gulpfile.js --> generateBuildInfo

export const Build = {
version: "6.22.30 (a7b59eaf2e131f1b5328a04f3c33a613)",
jsVersion: "7a9b47b1c3ba95d95d4d2bb58b9248ae603f7479",
jsSize: 502767,
wasmVersion: "8ec72e090a255b8554388f6b0d12602c",
wasmSize: 2297225,
version: "6.22.31 (d0c777fff2df3c2553a8b769a86eca06)",
jsVersion: "b0eefc097d2c5270a1a463700335826f156460ea",
jsSize: 196977,
wasmVersion: "03ff8f9208bc11b041bebc7cce39e56d",
wasmSize: 1810179,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-dos",
"version": "6.22.30",
"version": "6.22.31",
"description": "Easiest API to run dos programs in browser",
"main": "dist/js-dos.js",
"types": "dist/typescript/js-dos.ts",
Expand Down

0 comments on commit 8a05150

Please sign in to comment.