Skip to content

Commit

Permalink
Enable duplicate checker
Browse files Browse the repository at this point in the history
Signed-off-by: Szymon Kłos <[email protected]>
Change-Id: If08ceb5dd6ca83b6c1bd5e8bd1d8028a61f4296f
  • Loading branch information
eszkadev committed Oct 18, 2023
1 parent 20f1429 commit bde5ee5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
18 changes: 9 additions & 9 deletions browser/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -825,15 +825,15 @@ check-local: $(MOCHA_TS_JS_FILES)
cat ${MOCHA_TEST_LOG}; \
exit 1; \
fi
# TODO: enable duplication checker. It also needs to be added into packages.
# @echo "Checking code duplication..."
# @echo > ${DUPLICATION_TEST_LOG}
# @if npm run duplication 2> ${DUPLICATION_TEST_LOG} 1>&2; then \
# echo "Code duplication tests finished successfully."; \
# else \
# cat ${DUPLICATION_TEST_LOG}; \
# exit 1; \
# fi

@echo "Checking code duplication..."
@echo > ${DUPLICATION_TEST_LOG}
@if npm run duplication 2> ${DUPLICATION_TEST_LOG} 1>&2; then \
echo "Code duplication tests finished successfully."; \
else \
cat ${DUPLICATION_TEST_LOG}; \
exit 1; \
fi

# the delay (in milliseconds) between each emulated key stroke for each view
typing_speed=100
Expand Down
1 change: 1 addition & 0 deletions browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"eslint": "7.0.0",
"fzstd": "0.1.0",
"hammerjs": "2.0.8",
"jscpd": "3.5.10",
"jquery": "3.5.1",
"jquery-contextmenu": "2.9.2",
"jquery-mousewheel": "3.1.13",
Expand Down

0 comments on commit bde5ee5

Please sign in to comment.