From 2e54aa69c3c6e5ffe8f524a9a25c196eb57e367b Mon Sep 17 00:00:00 2001 From: Piotr Kwiecinski Date: Fri, 30 Jun 2023 11:44:16 +0200 Subject: [PATCH 1/4] psysh-doc-buffer-color: fix odd type warning in native compilation --- psysh.el | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/psysh.el b/psysh.el index 604b2b3..d7aeabf 100644 --- a/psysh.el +++ b/psysh.el @@ -230,11 +230,11 @@ See `psysh-mode-output-syntax-table'." (defcustom psysh-doc-buffer-color 'auto "Coloring PsySH buffer." - :type '(choice (const :tag "Auto detect color mode." 'auto) - (const :tag "Use only PsySH original coloring." 'only-psysh) - (const :tag "Use only Emacs font-lock coloring." 'only-emacs) - (const :tag "Use multiple coloring mechanism." 'mixed) - (const :tag "No coloring." 'none))) + :type '(choice (const :tag "Auto detect color mode." auto) + (const :tag "Use only PsySH original coloring." only-psysh) + (const :tag "Use only Emacs font-lock coloring." only-emacs) + (const :tag "Use multiple coloring mechanism." mixed) + (const :tag "No coloring." none))) (defcustom psysh-doc-display-function #'view-buffer-other-window "Function to display PsySH doc buffer." From 4234ba390589991d445624f1096d06870c154ca7 Mon Sep 17 00:00:00 2001 From: JenChieh Date: Tue, 12 Sep 2023 22:56:27 -0700 Subject: [PATCH 2/4] test: Build with Eask --- .github/workflows/test.yml | 52 ++++++++++++++++++++++++++++++++++++++ .gitignore | 2 ++ Eask | 19 ++++++++++++++ 3 files changed, 73 insertions(+) create mode 100644 .github/workflows/test.yml create mode 100644 Eask diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..a7b34ae --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,52 @@ +name: CI + +on: + push: + paths-ignore: + - '**/*.md' + workflow_dispatch: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.experimental }} + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + emacs-version: + - 26.3 + - 27.2 + - 28.2 + - 29.1 + experimental: [false] + include: + - os: ubuntu-latest + emacs-version: snapshot + experimental: true + - os: macos-latest + emacs-version: snapshot + experimental: true + - os: windows-latest + emacs-version: snapshot + experimental: true + steps: + - uses: jcs090218/setup-emacs@master + with: + version: ${{ matrix.emacs-version }} + + - uses: emacs-eask/setup-eask@master + with: + version: 'snapshot' + + - uses: actions/checkout@v4 + + - name: Run make + run: | + eask package + eask install + eask compile diff --git a/.gitignore b/.gitignore index 315998e..9370b4f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ *.elc /.cask/ +/.eask/ +/dist/ /composer.lock /vendor/ diff --git a/Eask b/Eask new file mode 100644 index 0000000..65cabf2 --- /dev/null +++ b/Eask @@ -0,0 +1,19 @@ +(package "psysh" + "0.1.1" + "PsySH, PHP interactive shell (REPL)") + +(website-url "https://github.com/emacs-php/psysh.el") +(keywords "processes" "php") + +(package-file "psysh.el") + +(script "test" "echo \"Error: no test specified\" && exit 1") + +(source 'gnu) +(source 'melpa) + +(depends-on "emacs" "24.3") +(depends-on "s") +(depends-on "php-runtime") + +(setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432 From ae15a36301a49e5ae03118ff815a6a511603ae13 Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Wed, 27 Mar 2024 00:18:00 -0700 Subject: [PATCH 3/4] ci: Bump Emacs 29.x to 3 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a7b34ae..87258a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - 26.3 - 27.2 - 28.2 - - 29.1 + - 29.3 experimental: [false] include: - os: ubuntu-latest From 223bf55975d148f65f66bb8980c14c1230f067ff Mon Sep 17 00:00:00 2001 From: Jen-Chieh Shen Date: Tue, 22 Apr 2025 17:23:59 -0700 Subject: [PATCH 4/4] fix: Warning missing lexical-binding cookie --- Eask | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Eask b/Eask index 65cabf2..7cf9ccf 100644 --- a/Eask +++ b/Eask @@ -1,3 +1,5 @@ +;; -*- mode: eask; lexical-binding: t -*- + (package "psysh" "0.1.1" "PsySH, PHP interactive shell (REPL)")