Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Add makefile and upgrate to v0.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
NastuzziSamy committed Jan 16, 2019
1 parent 6d0c06d commit 16e2496
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# Changelogs
### v0.10.0
- Change menu generation and handler
- Update calcul and disposition for menus and sub-menus
- Fix selected actions

### v0.9.1
- Update calcul and disposition
- Improve display
Expand Down
33 changes: 33 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
app_name=files_rightclick
project_dir=$(CURDIR)/../$(app_name)
build_dir=$(CURDIR)/build
sign_dir=$(build_dir)/artifacts
cert_dir=$(HOME)/.nextcloud/certificates

all: appstore

clean:
rm -rf $(build_dir)

appstore: clean
mkdir -p $(sign_dir)
rsync -a \
--exclude=.* \
--exclude=build \
--exclude=CONTRIBUTING.md \
--exclude=composer.json \
--exclude=composer.lock \
--exclude=composer.phar \
--exclude=l10n/.tx \
--exclude=l10n/no-php \
--exclude=Makefile \
--exclude=screenshots \
--exclude=phpunit*xml \
--exclude=tests \
--exclude=vendor/bin \
$(project_dir) $(sign_dir)
tar -czf $(build_dir)/$(app_name).tar.gz \
-C $(sign_dir) $(app_name)
openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64 > $(build_dir)/$(app_name).b64
rm -rf $(build_dir)/artifacts
cat $(build_dir)/$(app_name).b64 \
4 changes: 2 additions & 2 deletions appinfo/info.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<name>Files Right Click</name>
<summary>Add a rightclick menu generator for any Nextcloud apps</summary>
<description><![CDATA[This app will allow users but also developers to have a right click menu. Simply use the RightClick object to create quickly and easly menus. Already files app got a right click menu]]></description>
<version>0.9.1</version>
<version>0.10.0</version>
<licence>AGPL</licence>
<author mail="samy@nastuzzi.fr" homepage="https://github.com/NastuzziSamy/files_rightclick.git">NASTUZZI Samy</author>
<namespace>FilesRightClick</namespace>
<category>files</category>
<category>tools</category>
<category>files</category>
<website>https://github.com/NastuzziSamy/files_rightclick</website>
<repository>https://github.com/NastuzziSamy/files_rightclick</repository>
<bugs>https://github.com/NastuzziSamy/files_rightclick/issues</bugs>
Expand Down

0 comments on commit 16e2496

Please sign in to comment.