-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e760d78
commit 651d338
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"""JustPy is an object-oriented, component based, high-level Python Web Framework that requires no front-end programming""" | ||
|
||
from .justpy import * | ||
__version__ = "0.4.3" | ||
__version__ = "0.5.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,31 @@ | ||
#!/bin/bash | ||
# WF 2022-08-21 | ||
# script to find tutorial examples | ||
for md in $(find docs -name "*.md") | ||
do | ||
echo $md | ||
grep jp.justpy $md | ||
done | ||
findexamples() { | ||
for md in $(find docs -name "*.md") | ||
do | ||
echo $md | ||
grep jp.justpy $md | ||
done | ||
} | ||
|
||
stats() { | ||
findexamples | grep jp.justpy | sort | uniq -c | ||
} | ||
if [ $# -gt 0 ] | ||
then | ||
case $1 in | ||
stats) | ||
stats | ||
exit 0 | ||
;; | ||
unique) | ||
stats | grep -v "1 jp" | ||
exit 0 | ||
;; | ||
*) | ||
echo "unknown option $1" 1>&2 | ||
exit 1 | ||
esac | ||
fi | ||
findexamples |