Skip to content

Commit

Permalink
Don't display if statement in terminal
Browse files Browse the repository at this point in the history
  • Loading branch information
stuarthayhurst committed Oct 10, 2021
1 parent d4d4a4d commit 1e872b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ COMPRESSLEVEL="-o7"
build:
gnome-extensions pack --force --podir=po --extra-source=LICENSE.txt --extra-source=docs/CHANGELOG.md --extra-source=icons/ --extra-source=lib/
check:
if [[ ! -f "$(UUID).shell-extension.zip" ]]; then \
@if [[ ! -f "$(UUID).shell-extension.zip" ]]; then \
echo -e "WARNING! Extension zip couldn't be found"; exit 1; \
elif [[ "$$(stat -c %s $(UUID).shell-extension.zip)" -gt 4096000 ]]; then \
echo -e "\nWARNING! The extension is too big to be uploaded to the extensions website, keep it smaller than 4096 KB"; exit 1; \
fi
release:
if [[ "$(VERSION)" != "" ]]; then \
@if [[ "$(VERSION)" != "" ]]; then \
sed -i "s| \"version\":.*| \"version\": $(VERSION)|g" metadata.json; \
fi
#Call other targets required to make a release
Expand Down

0 comments on commit 1e872b9

Please sign in to comment.