Skip to content

Commit

Permalink
Revised: artifact.zip except for library(.so etc) file
Browse files Browse the repository at this point in the history
  • Loading branch information
vulcan-action committed Apr 6, 2022
1 parent 48d0dd9 commit 82b57ec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions codescroll/_artifact_builder.py
Expand Up @@ -57,6 +57,9 @@ def start(self, options, compile_commands_json_path=None):
src = dependency
if not os.path.isfile(src):
continue
file_extension_list = [".c", ".cpp", ".h", ".hpp"]
if not any([dependency.endswith(i) for i in file_extension_list]):
continue
dest = artifacts_dir_path + dependency
if os.path.exists(dest):
try:
Expand Down

0 comments on commit 82b57ec

Please sign in to comment.