Skip to content

Commit f2ab6a2

Browse files
committed
Merge pull request #58 from owncloud/release-preparation-8.1
Prepare appstore upload
2 parents c539007 + 9a25b81 commit f2ab6a2

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed

Makefile

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Makefile for building the project
2+
3+
app_name=files_antivirus
4+
project_dir=$(CURDIR)/../$(app_name)
5+
build_dir=$(CURDIR)/build/artifacts
6+
appstore_dir=$(build_dir)/appstore
7+
source_dir=$(build_dir)/source
8+
package_name=$(app_name)
9+
10+
all: dist
11+
12+
clean:
13+
rm -rf $(build_dir)
14+
15+
update-composer:
16+
rm -f composer.lock
17+
git rm -r vendor
18+
composer install --prefer-dist
19+
20+
appstore: clean
21+
mkdir -p $(appstore_dir)
22+
tar cvzf $(appstore_dir)/$(package_name).tar.gz $(project_dir) \
23+
--exclude-vcs \
24+
--exclude=$(project_dir)/build \
25+
--exclude=$(project_dir)/build/artifacts \
26+
--exclude=$(project_dir)/js/node_modules \
27+
--exclude=$(project_dir)/js/.bowerrc \
28+
--exclude=$(project_dir)/.jshintrc \
29+
--exclude=$(project_dir)/.jshintignore \
30+
--exclude=$(project_dir)/.travis.yml \
31+
--exclude=$(project_dir)/.scrutinizer.yml \
32+
--exclude=$(project_dir)/phpunit*xml \
33+
--exclude=$(project_dir)/Makefile \
34+
--exclude=$(project_dir)/tests \
35+
--exclude=$(project_dir)/l10n/.tx \
36+
--exclude=$(project_dir)/l10n/no-php \
37+

appinfo/info.xml

+4
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ For this app to be effective, the ClamAV virus definitions should be kept up to
1616
<types>
1717
<filesystem/>
1818
</types>
19+
<dependencies>
20+
<owncloud min-version="8.1" max-version="8.1" />
21+
</dependencies>
22+
<ocsid>157439</ocsid>
1923
</info>

0 commit comments

Comments
 (0)