Skip to content

Commit

Permalink
Update cpack and npm ignored files.
Browse files Browse the repository at this point in the history
  • Loading branch information
BYVoid committed Jul 26, 2024
1 parent 198753f commit 0cb78e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ CMakeLists.txt
*.pyc
*.cmd
*.tgz
*.bazel

/.github
/.vscode
/.appveyor.yml
/.clang-format
/.travis.yml
/bazel-*
/Makefile
/src/*Test.cpp
/src/*TestBase.cpp
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ set(CPACK_SOURCE_PACKAGE_FILE_NAME
"${PACKAGE_NAME}-${OPENCC_VERSION_MAJOR}.${OPENCC_VERSION_MINOR}.${OPENCC_VERSION_REVISION}"
)
set(CPACK_SOURCE_IGNORE_FILES
"/build/;/test/dict.ocd;/test/dict.txt;/test/dict.bin;/other/;/opencc.xcodeproj/;/.git/;.gitignore;~$;.pyc;${CPACK_SOURCE_IGNORE_FILES}"
"/build/;/test/dict.ocd;/test/dict.txt;/test/dict.bin;/other/;/opencc.xcodeproj/;/.git/;.gitignore;~$;.pyc;/bazel*;/node_modules;/.github;/.pytest_cache;/.vscode;${CPACK_SOURCE_IGNORE_FILES}"
)
include(CPack)

Expand Down

0 comments on commit 0cb78e9

Please sign in to comment.