Skip to content

Commit

Permalink
#16477 - Remove mentions of ZEPHIR_VERSION env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Dec 23, 2023
1 parent e34ccf8 commit 4c9e06f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 45 deletions.
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -21,7 +21,6 @@ env:
# All versions should be declared here
PHALCON_VERSION: 5.4.0
ZEPHIR_PARSER_VERSION: 1.6.0
ZEPHIR_VERSION: 0.17.0

# For tests
LANG: en_US.UTF-8
Expand Down
15 changes: 4 additions & 11 deletions docker/8.0/.bashrc
@@ -1,7 +1,5 @@
#!/bin/bash

ZEPHIR_VERSION="0.17.0"

# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
Expand Down Expand Up @@ -77,15 +75,10 @@ alias untar='tar xvf'
NB_CORES=$(grep -c '^processor' /proc/cpuinfo)
export MAKEFLAGS="-j$((NB_CORES)) -l${NB_CORES}"

if [ ! -f ./zephir ]; then
wget --no-clobber -O ./zephir https://github.com/phalcon/zephir/releases/download/$ZEPHIR_VERSION/zephir.phar
chmod +x ./zephir
fi

alias zephir='./zephir '
alias zf='./zephir fullclean'
alias zg='./zephir generate'
alias zs='./zephir stubs'
alias zephir='./vendor/bin/zephir '
alias zf='./vendor/bin/zephir fullclean'
alias zg='./vendor/bin/zephir generate'
alias zs='./vendor/bin/zephir stubs'
alias cpl='zf && zg && cd ext/ && ./install && ..'
alias codecept='php -d extension=ext/modules/phalcon.so ./vendor/bin/codecept '
alias phpcs='php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcs '
Expand Down
15 changes: 4 additions & 11 deletions docker/8.1/.bashrc
@@ -1,7 +1,5 @@
#!/bin/bash

ZEPHIR_VERSION="0.17.0"

# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
Expand Down Expand Up @@ -77,15 +75,10 @@ alias untar='tar xvf'
NB_CORES=$(grep -c '^processor' /proc/cpuinfo)
export MAKEFLAGS="-j$((NB_CORES)) -l${NB_CORES}"

if [ ! -f ./zephir ]; then
wget --no-clobber -O ./zephir https://github.com/phalcon/zephir/releases/download/$ZEPHIR_VERSION/zephir.phar
chmod +x ./zephir
fi

alias zephir='./zephir '
alias zf='./zephir fullclean'
alias zg='./zephir generate'
alias zs='./zephir stubs'
alias zephir='./vendor/bin/zephir '
alias zf='./vendor/bin/zephir fullclean'
alias zg='./vendor/bin/zephir generate'
alias zs='./vendor/bin/zephir stubs'
alias cpl='zf && zg && cd ext/ && ./install && ..'
alias codecept='php -d extension=ext/modules/phalcon.so ./vendor/bin/codecept '
alias phpcs='php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcs '
Expand Down
15 changes: 4 additions & 11 deletions docker/8.2/.bashrc
@@ -1,7 +1,5 @@
#!/bin/bash

ZEPHIR_VERSION="0.17.0"

# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
Expand Down Expand Up @@ -77,15 +75,10 @@ alias untar='tar xvf'
NB_CORES=$(grep -c '^processor' /proc/cpuinfo)
export MAKEFLAGS="-j$((NB_CORES)) -l${NB_CORES}"

if [ ! -f ./zephir ]; then
wget --no-clobber -O ./zephir https://github.com/phalcon/zephir/releases/download/$ZEPHIR_VERSION/zephir.phar
chmod +x ./zephir
fi

alias zephir='./zephir '
alias zf='./zephir fullclean'
alias zg='./zephir generate'
alias zs='./zephir stubs'
alias zephir='./vendor/bin/zephir '
alias zf='./vendor/bin/zephir fullclean'
alias zg='./vendor/bin/zephir generate'
alias zs='./vendor/bin/zephir stubs'
alias cpl='zf && zg && cd ext/ && ./install && ..'
alias codecept='php -d extension=ext/modules/phalcon.so ./vendor/bin/codecept '
alias phpcs='php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcs '
Expand Down
15 changes: 4 additions & 11 deletions docker/8.3/.bashrc
@@ -1,7 +1,5 @@
#!/bin/bash

ZEPHIR_VERSION="0.17.0"

# Easier navigation: .., ..., ...., ....., ~ and -
alias ..="cd .."
alias ...="cd ../.."
Expand Down Expand Up @@ -77,15 +75,10 @@ alias untar='tar xvf'
NB_CORES=$(grep -c '^processor' /proc/cpuinfo)
export MAKEFLAGS="-j$((NB_CORES)) -l${NB_CORES}"

if [ ! -f ./zephir ]; then
wget --no-clobber -O ./zephir https://github.com/phalcon/zephir/releases/download/$ZEPHIR_VERSION/zephir.phar
chmod +x ./zephir
fi

alias zephir='./zephir '
alias zf='./zephir fullclean'
alias zg='./zephir generate'
alias zs='./zephir stubs'
alias zephir='./vendor/bin/zephir '
alias zf='./vendor/bin/zephir fullclean'
alias zg='./vendor/bin/zephir generate'
alias zs='./vendor/bin/zephir stubs'
alias cpl='zf && zg && cd ext/ && ./install && ..'
alias codecept='php -d extension=ext/modules/phalcon.so ./vendor/bin/codecept '
alias phpcs='php -d extension=ext/modules/phalcon.so ./vendor/bin/phpcs '
Expand Down

0 comments on commit 4c9e06f

Please sign in to comment.