A Cleanup Utility
Project description
If one’d like to make sphinx repository with github-pages sumodule, one shoud exclude rm _build/html/.git.
make-clean package provide to keep .git file with it.
Switch make.bat file clean to below:
if "%1" == "clean" ( .\path\to\make-clean.exe _build --excludes _build\html\.git _build\html\.gitignore goto end )
Usage
This package has a make-clean command.
> .\venv\Scripts\make-clean.exe -h
usage: make-clean [-h] [-e [EXCLUDE [EXCLUDE ...]]] TARGET_DIR
clean target dir without excludes
positional arguments:
TARGET_DIR dir to remove recursively
optional arguments:
-h, --help show this help message and exit
-e [EXCLUDE [EXCLUDE ...]], --excludes [EXCLUDE [EXCLUDE ...]]
dir/file to exclude from remove
Test
I use pytest.
> C:\path\to\python\3.X.Y\python.exe -m venv --clear venv
> .\venv\Scripts\python.exe setup.py develop easy_install make-clean[test]
> .\venv\Scripts\python.exe -m pytest
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
make-clean-1.0.0.zip
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for make_clean-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96b68522fbe164a6afd766e14e5461d8088c1bbb1f8449725881349f547858ad |
|
MD5 | 52657fe538d4d3a66b82e957ccaa1c52 |
|
BLAKE2b-256 | d04e07c67e266dcef593ef0650ca8455991fa6bf38a3468aa4fc28bcc10ecebe |