Add build actions hooks

gf-arm64
FriendlyNeighborhoodShane 4 years ago
parent 9e88a9a94f
commit 2f89d2ebe1

@ -93,6 +93,10 @@ for object in $stuff_arch $stuff_sdk $stuff_arch_sdk; do
done;
done;
# Pre build actions
pre_build_actions;
# Zip
echo " ";
@ -132,6 +136,10 @@ else
fi;
# Post build actions
post_build_actions;
# Done
echo " ";

@ -28,6 +28,8 @@ For making your own pack and config file, check custom-pack.md
## Functions in defconf files
- pre_build_actions()
- post_build_actions()
- pre_install_actions()
- post_install_actions()
- pre_uninstall_actions()

@ -59,7 +59,7 @@ NOTE: I only reccomend doing this if you're familiar with shell scripts. DO NOT
- While an addon.d script might be useful, I ommitted it for simplicity in this file.
- We don't have anything special to do with this package, so nothing in the install functions. But we don't remove the functions completely, that would cause an error.
- We don't have anything special to do with this package, so nothing in the build or install functions. But we don't remove the functions completely, that would cause an error.
There, we have the config file for our brand new AuroraServices pack!

@ -102,6 +102,18 @@ service="
addond="
";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
return 0;

@ -266,6 +266,18 @@ esac;
addond="$addona $addonb";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
user_conf;

@ -272,6 +272,18 @@ esac;
addond="$addona$addonb";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
user_conf;

@ -218,6 +218,18 @@ esac;
addond="$addona $addonb";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
user_conf;

@ -43,6 +43,18 @@ addond="
service="
";
pre_build_actions() {
return 0;
}
post_build_actions() {
return 0;
}
pre_install_actions() {
return 0;

Loading…
Cancel
Save