Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
25 lines (20 loc) · 682 Bytes

File metadata and controls

25 lines (20 loc) · 682 Bytes
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
cmake_minimum_required(VERSION 3.28)
project(git2cpp-wasm-test)
include("../common.cmake")
add_custom_target(build-test
DEPENDS build-recipe cockle
COMMAND npm install
COMMAND COCKLE_WASM_EXTRA_CHANNEL=${BUILT_PACKAGE_DIR} npm run build
BYPRODUCTS cockle_wasm_env lib node_modules
)
add_custom_target(rebuild-test
DEPENDS rebuild-recipe clean-env-test build-test
)
add_custom_target(test
# A pytest fixture ensures that `npm run serve` runs for the duration of the tests.
COMMAND GIT2CPP_TEST_WASM=1 pytest -v -rP
WORKING_DIRECTORY ../../test
)
add_custom_target(clean-env-test
COMMAND ${CMAKE_COMMAND} -E remove_directory cockle_wasm_env
)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.