forked from RebelCode/wp-rss-aggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
49 lines (45 loc) · 1.44 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.PHONY: build
build: clean vendor node_modules build/wp-rss-aggregator.zip
build/wp-rss-aggregator.zip:
mkdir -p build
rm -f "$@"
cd .. && zip -r -9 ./wp-rss-aggregator/build/wp-rss-aggregator.zip ./wp-rss-aggregator -x \
"wp-rss-aggregator/.git/*" \
"wp-rss-aggregator/.idea/*" \
"wp-rss-aggregator/nbproject/*" \
"wp-rss-aggregator/build/*" \
"wp-rss-aggregator/docker/*" \
"wp-rss-aggregator/js/src/*" \
"wp-rss-aggregator/css/src/*" \
"wp-rss-aggregator/node_modules/*" \
"wp-rss-aggregator/test/*" \
"wp-rss-aggregator/webpack/*" \
"wp-rss-aggregator/.directory" \
"wp-rss-aggregator/.babelrc" \
"wp-rss-aggregator/.gitattributes" \
"wp-rss-aggregator/.gitignore" \
"wp-rss-aggregator/.php-cs-fixer.cache" \
"wp-rss-aggregator/.phpactor.json" \
"wp-rss-aggregator/.directory" \
"wp-rss-aggregator/build.sh" \
"wp-rss-aggregator/composer.json" \
"wp-rss-aggregator/composer.lock" \
"wp-rss-aggregator/docker-compose.yml" \
"wp-rss-aggregator/Makefile" \
"wp-rss-aggregator/package.json" \
"wp-rss-aggregator/package-lock.json" \
"wp-rss-aggregator/phpunit.xml" \
"wp-rss-aggregator/README.md" \
"wp-rss-aggregator/webpack.config.js" \
"wp-rss-aggregator/yarn.lock" \
"wp-rss-aggregator/src/V5/*"
.PHONY: clean
clean:
rm -rf ./vendor
rm -rf ./node_modules
rm -rf build
vendor:
composer install --no-dev --optimize-autoloader --prefer-dist --ignore-platform-reqs
node_modules:
yarn install
yarn run build