-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (21 loc) · 791 Bytes
/
Makefile
File metadata and controls
21 lines (21 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
build_pakage_release:
# Build Files
cargo build --release --verbose
# Prep build folder
mkdir -p pakinstaller/payloads/default/bin
mkdir -p pakinstaller/payloads/pakr/bin
cp -rvf examples pakinstaller/payloads/default/examples
cp LICENSE pakinstaller/LICENSE
cp LICENSE pakinstaller/payloads/default/LICENSE
cp LICENSE pakinstaller/payloads/pakr/LICENSE
# Copy build files
cp target/release/pakr pakinstaller/payloads/pakr/bin/pakr
chmod +x pakinstaller/payloads/pakr/bin/pakr
cp target/release/pakcli pakinstaller/payloads/default/bin/pakcli
chmod +x pakinstaller/payloads/default/bin/pakcli
# Build package
cd pakinstaller && ../target/release/pakcli build
# NOTE: Codesign manually
help:
# Commands
# build_pakage_release Builds a release package(CPU intensive task)