-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (30 loc) · 819 Bytes
/
Makefile
File metadata and controls
33 lines (30 loc) · 819 Bytes
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
app_name=integration_basecamp
build_dir=/tmp/build
.PHONY: appstore clean
appstore:
rm -rf $(build_dir)/$(app_name)
mkdir -p $(build_dir)/$(app_name)
rsync -a \
--exclude=.git \
--exclude=.github \
--exclude=.gitignore \
--exclude=.idea \
--exclude=.claude \
--exclude=node_modules \
--exclude=src \
--exclude=tests \
--exclude=composer.json \
--exclude=composer.lock \
--exclude=package.json \
--exclude=package-lock.json \
--exclude=vite.config.ts \
--exclude=Makefile \
--exclude=nc-dev.sh \
--exclude=CLAUDE.md \
--exclude=README.md \
. $(build_dir)/$(app_name)/
tar -czf $(build_dir)/$(app_name).tar.gz -C $(build_dir) $(app_name)
@echo ""
@echo "Archive created: $(build_dir)/$(app_name).tar.gz"
clean:
rm -rf $(build_dir)/$(app_name) $(build_dir)/$(app_name).tar.gz