mirror of
https://github.com/php/frankenphp.git
synced 2026-03-24 00:52:11 +01:00
chore: make the branch from which Watcher is built a release branch (#1072)
Co-authored-by: Will <edant.io@proton.me>
This commit is contained in:
@@ -87,7 +87,7 @@ COPY --link internal internal
|
||||
COPY --link testdata testdata
|
||||
|
||||
# install edant/watcher (necessary for file watching)
|
||||
ARG EDANT_WATCHER_VERSION=next
|
||||
ARG EDANT_WATCHER_VERSION=release
|
||||
WORKDIR /usr/local/src/watcher
|
||||
RUN curl -L https://github.com/e-dant/watcher/archive/refs/heads/$EDANT_WATCHER_VERSION.tar.gz | tar xz
|
||||
WORKDIR /usr/local/src/watcher/watcher-$EDANT_WATCHER_VERSION/watcher-c
|
||||
|
||||
@@ -108,7 +108,7 @@ COPY --link internal internal
|
||||
COPY --link testdata testdata
|
||||
|
||||
# install edant/watcher (necessary for file watching)
|
||||
ARG EDANT_WATCHER_VERSION=next
|
||||
ARG EDANT_WATCHER_VERSION=release
|
||||
WORKDIR /usr/local/src/watcher
|
||||
RUN curl -L https://github.com/e-dant/watcher/archive/refs/heads/$EDANT_WATCHER_VERSION.tar.gz | tar xz
|
||||
WORKDIR /usr/local/src/watcher/watcher-$EDANT_WATCHER_VERSION/watcher-c
|
||||
|
||||
@@ -144,7 +144,7 @@ if [ "${os}" = "linux" ]; then
|
||||
fi
|
||||
|
||||
# install edant/watcher for file watching (static version)
|
||||
git clone --branch="${EDANT_WATCHER_VERSION:-next}" https://github.com/e-dant/watcher watcher
|
||||
git clone --branch="${EDANT_WATCHER_VERSION:-release}" https://github.com/e-dant/watcher watcher
|
||||
cd watcher/watcher-c
|
||||
cc -c -o libwatcher.o ./src/watcher-c.cpp -I ./include -I ../include -std=c++17 -Wall -Wextra -fPIC
|
||||
ar rcs libwatcher.a libwatcher.o
|
||||
|
||||
@@ -64,7 +64,7 @@ RUN git clone --branch=PHP-8.3 https://github.com/php/php-src.git . && \
|
||||
php --version
|
||||
|
||||
# install edant/watcher (necessary for file watching)
|
||||
ARG EDANT_WATCHER_VERSION=next
|
||||
ARG EDANT_WATCHER_VERSION=release
|
||||
WORKDIR /usr/local/src/watcher
|
||||
RUN git clone --branch=$EDANT_WATCHER_VERSION https://github.com/e-dant/watcher .
|
||||
WORKDIR /usr/local/src/watcher/watcher-c
|
||||
|
||||
@@ -66,7 +66,7 @@ RUN git clone --branch=PHP-8.3 https://github.com/php/php-src.git . && \
|
||||
php --version
|
||||
|
||||
# install edant/watcher (necessary for file watching)
|
||||
ARG EDANT_WATCHER_VERSION=next
|
||||
ARG EDANT_WATCHER_VERSION=release
|
||||
WORKDIR /usr/local/src/watcher
|
||||
RUN git clone --branch=$EDANT_WATCHER_VERSION https://github.com/e-dant/watcher .
|
||||
WORKDIR /usr/local/src/watcher/watcher-c
|
||||
|
||||
Reference in New Issue
Block a user