Skip to content

Commit

Permalink
updated readme and made some texts appear under verbose only.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jochem Berends authored and jberends committed Jan 15, 2018
1 parent d586468 commit 00de3c9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 0.8.0 (15JAN18)
* added the ability to add additional ignores to the builder. Use `kecpkg config` to set additional list of pathnames or filenames to ignore. One can use eg. 'data' (for subdirectories) or '*.txt' as suitable values.
* added an option `kecpkg build --prune` to the list of option for the builder. `--prune` is an alternative to `--clean`.

## 0.7.1 (6DEC17)
* removed the '.git' directory from the packaged kecpkg

Expand Down
6 changes: 4 additions & 2 deletions kecpkg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,14 @@ def get_artifacts_on_disk(root_path, additional_exclude_paths=None, default_excl
"""
from kecpkg.settings import EXCLUDE_IN_BUILD
exclude_paths = default_exclude_paths or EXCLUDE_IN_BUILD
echo_info("basic excluded paths are: `{}`".format(exclude_paths))
if verbose:
echo_info("basic excluded paths are: `{}`".format(exclude_paths))

# get additional exclude paths from the settings file
if additional_exclude_paths and isinstance(additional_exclude_paths, list):
exclude_paths.extend(additional_exclude_paths)
echo_info("additional exclude paths are: `{}`".format(additional_exclude_paths))
if verbose:
echo_info("additional exclude paths are: `{}`".format(additional_exclude_paths))

if not os.path.exists(root_path):
echo_failure("The root path: '{}' does not exist".format(root_path))
Expand Down

0 comments on commit 00de3c9

Please sign in to comment.