Skip to content

Commit b7b5318

Browse files
committed
feat: Exakat
1 parent b03bffe commit b7b5318

File tree

5 files changed

+14
-0
lines changed

5 files changed

+14
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,4 @@ install:
2121
@sudo ln -sf $(shell pwd)/bin/infection /usr/local/bin/infection
2222
@sudo ln -sf $(shell pwd)/bin/pest /usr/local/bin/pest
2323
@sudo ln -sf $(shell pwd)/bin/pint /usr/local/bin/pint
24+
@sudo ln -sf $(shell pwd)/bin/exakat /usr/local/bin/exakat

bin/exakat

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/usr/bin/env sh
2+
phpctl exakat $@

installer.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ symlink() {
1313
sudo ln -sf "${INSTALL_DIR}/bin/phpunit" /usr/local/bin/phpunit
1414
sudo ln -sf "${INSTALL_DIR}/bin/pest" /usr/local/bin/pest
1515
sudo ln -sf "${INSTALL_DIR}/bin/pint" /usr/local/bin/pint
16+
sudo ln -sf "${INSTALL_DIR}/bin/exakat" /usr/local/bin/exakat
1617
}
1718

1819
echo "\033[0;33mInstalling phpctl at \033[0m$INSTALL_DIR"
@@ -41,5 +42,6 @@ else
4142
echo " sudo ln -sf ${INSTALL_DIR}/bin/infection /usr/local/bin/infection"
4243
echo " sudo ln -sf ${INSTALL_DIR}/bin/pest /usr/local/bin/pest"
4344
echo " sudo ln -sf ${INSTALL_DIR}/bin/pint /usr/local/bin/pint"
45+
echo " sudo ln -sf ${INSTALL_DIR}/bin/exakat /usr/local/bin/exakat"
4446
echo ""
4547
fi

rootfs/etc/php/php.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
memory_limit = -1
12
sys_temp_dir = /tmp
23

34
[xdebug]

src/tools.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ couscous() {
1414
fi;
1515
}
1616

17+
exakat() {
18+
if [ -f vendor/bin/exakat ]; then
19+
run -- vendor/bin/exakat ${@}
20+
else
21+
run -- exakat ${@}
22+
fi;
23+
}
24+
1725
infection() {
1826
if [ -f vendor/bin/infection ]; then
1927
run -- vendor/bin/infection ${@}

0 commit comments

Comments
 (0)