Skip to content

Commit

Permalink
resolve I#75 - check file type
Browse files Browse the repository at this point in the history
  • Loading branch information
txoof committed Jan 5, 2023
1 parent 7b2e925 commit 51e2b57
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 1 deletion.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed paperpi/plugins/slideshow.layout-sample.png
Binary file not shown.
7 changes: 6 additions & 1 deletion utilities/find_imports.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,14 @@
PLUGIN_PATH="../paperpi/plugins/"

for filename in $PLUGIN_PATH/*; do
basename=$(basename $filename)
if [[ -f ${filename} ]]; then
echo "skipping regular file: $filename"
continue
fi

basename=$(basename $filename)
if [[ $basename != "_"* ]]; then
echo "processing requirements for plugin: $basename"
savepath=$filename/requirements-$basename.txt
pipenv run pipreqs --no-follow-links --force --savepath $savepath $filename

Expand Down

0 comments on commit 51e2b57

Please sign in to comment.