Skip to content

Commit

Permalink
Makefile command to zip and sha256sum the plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdorsey committed Feb 5, 2020
1 parent 801ee91 commit f04193b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Makefile
Expand Up @@ -15,5 +15,16 @@ install:
echo "Sorry, nothing to install. You might want to build it first. ;-)"; \
fi

package:
@if [ -d "./build/Release/QLStephen.qlgenerator" ]; then \
rm -rf "./build/Release/packaged" ; \
mkdir "build/Release/packaged" ; \
cd "build/Release" ; \
zip -rX "./packaged/QLStephen.qlgenerator.VERSION.zip" "./QLStephen.qlgenerator" ; \
sha256sum "./packaged/QLStephen.qlgenerator.VERSION.zip" ; \
else \
echo "Sorry, nothing to package. You might want to build it first. ;-)"; \
fi

clean:
@rm -rf ./build

0 comments on commit f04193b

Please sign in to comment.