Skip to content

Latest commit

 

History

History
21 lines (19 loc) · 669 Bytes

README.md

File metadata and controls

21 lines (19 loc) · 669 Bytes

AsseticsMaker

PiPY - 3.4.0 Licence - MIT

Generate YML assets config file from an non-bundled view vendor

Use

for all files in the current directory

cd vendor/acme
tree -fi | python3 ~/AsseticsMaker.py ${PWD##*/} > ../../app/config/config_assets.yml

for specified files in the current directory

cd vendor/acme
tree -fi -P "*.js|*.css|*.jpg|*.jpeg|*.gif|*.png|*.eot|*.svg|*.ttf|*.woff" | python3 ~/AsseticsMaker.py ${PWD##*/} > ../../app/config/config_assets.yml

Arguments

python3 ~/AsseticsMaker.py vendor_name