emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/geiser-kawa f258b9a 073/119: TODO.org: add notes to self o


From: Philip Kaludercic
Subject: [nongnu] elpa/geiser-kawa f258b9a 073/119: TODO.org: add notes to self on how to make the melpa recipe
Date: Sun, 1 Aug 2021 18:30:41 -0400 (EDT)

branch: elpa/geiser-kawa
commit f258b9ae20937c9a4cb348badda52c81e9e4ba97
Author: spellcard199 <spellcard199@protonmail.com>
Commit: spellcard199 <spellcard199@protonmail.com>

    TODO.org: add notes to self on how to make the melpa recipe
---
 TODO.org | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/TODO.org b/TODO.org
index 9352505..8cd53b0 100644
--- a/TODO.org
+++ b/TODO.org
@@ -25,17 +25,36 @@ Write tests for these:
 
 There are still obvious bugs that need to be fixed before the quality of the 
package becomes sufficient for melpa.
 
-As of 2020-3-21 using =geiser-kawa= as a dependency for another Cask project 
using the following recipe seems work. Adapt it to melpa syntax when the 
package is ready.
+I tried to make a melpa recipe and it seems to work. Here are the instructions 
to reproduce it.
+
+#+BEGIN_SRC shell
+git clone "https://github.com/melpa/melpa.git";
+cd melpa
+emacs make sandbox
+#+END_SRC
+
+Create new a new recipe file =recipes/geiser-kawa= and insert these contents:
 
 #+BEGIN_SRC emacs-lisp
-(depends-on "geiser-kawa"
-            :git "git@gitlab.com:spellcard199/geiser-kawa.git"
-            :branch "master"
-            :files ("elisp/*.el"
-                    "pom.xml" ".mvn" "mvnw" "mvnw.cmd"
-                    "src"))
+(geiser-kawa
+ :fetcher gitlab
+ :repo "spellcard199/geiser-kawa"
+ :files ("elisp/*.el"
+         "pom.xml"
+         ".mvn" "mvnw" "mvnw.cmd"
+         "src"))
 #+END_SRC
 
+Test that it works:
+1. Install package:
+     1. use =C-cC-c= inside =geiser-kawa='s recipe buffer
+     2. follow instructions
+2. Load =geiser-kawa=:
+  : (require 'geiser-kawa)
+3. Use included Kawa to avoid confounding fators related to availability or 
version of Kawa:
+  : (setq geiser-kawa-use-included-kawa t)
+4. =run-kawa=
+
 ** Check if Kawa, Emacs and Geiser work on Windows. If yes, make the elisp 
function wrapping maven wrapper run =mvnw.cmd= instead of =mvnw= when on Windows
 ** Add geiser-kawa-java-find-pc (package or class)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]