Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /iDDS/Makefile was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 .PHONY: help install develop build clean wheel test lint format
0002 
0003 help:
0004         @echo "iDDS Build Commands"
0005         @echo "==================="
0006         @echo ""
0007         @echo "  make install      - Install all packages"
0008         @echo "  make develop      - Install all packages in development mode"
0009         @echo "  make build        - Build all packages"
0010         @echo "  make wheel        - Build wheel distributions for all packages"
0011         @echo "  make clean        - Clean build artifacts"
0012         @echo "  make test         - Run tests for all packages"
0013         @echo "  make lint         - Run linting checks"
0014         @echo "  make format       - Format code with black"
0015         @echo ""
0016 
0017 install:
0018         python build_all.py install
0019 
0020 develop:
0021         python build_all.py develop
0022 
0023 build:
0024         python build_all.py build
0025 
0026 wheel:
0027         python build_all.py wheel
0028 
0029 clean:
0030         python build_all.py clean
0031         find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
0032         find . -type f -name "*.pyc" -delete 2>/dev/null || true
0033         find . -type f -name "*.pyo" -delete 2>/dev/null || true
0034         find . -type d -name "*.egg-info" -exec rm -rf {} + 2>/dev/null || true
0035 
0036 test:
0037         pytest
0038 
0039 lint:
0040         flake8 */lib/idds
0041 
0042 format:
0043         black */lib/idds