| Server IP : 127.0.0.1 / Your IP : 192.168.99.1 Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9 System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64 User : Administrator ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /laragon3/www/ayongundang/admin/ |
Upload File : |
#!/bin/bash
## Build framework distributable
# Setup variables
. admin/release-config
TARGET=dist/framework
cd $TARGET
git checkout $branch
#---------------------------------------------------
echo -e "${BOLD}Build the framework distributable${NORMAL}"
echo -e "${BOLD}Copy the main files/folders...${NORMAL}"
releasable='app docs public system writable contributing.md env license.txt spark .gitignore'
for fff in $releasable ; do
if [ -d "$fff" ] ; then
rm -rf $fff
fi
cp -rf ${CI_DIR}/$fff .
done
echo -e "${BOLD}Override as needed...${NORMAL}"
cprm -rf tests
mkdir tests
cp -rf ${CI_DIR}/tests/_support tests/
cp -rf ${CI_DIR}/admin/framework/* .
#---------------------------------------------------
# And finally, get ready for merging
echo -e "${BOLD}Assemble the pieces...${NORMAL}"
git add .
git commit -S -m "Release ${RELEASE}"
git checkout master
git merge $branch
cd $CI_DIR
#---------------------------------------------------
# Done for now
echo -e "${BOLD}Distributable framework ready..${NORMAL}"