mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
Move Emacs, Obsidian plugin code out from under src/khoj directory
- What
- The Emacs and Obsidian interfaces stay in their original
directories under src/
- src/khoj now only contains code meant for pypi packaging
- Benefits
- This avoids having to update khoj MELPA, Obsidian plugin config as
the Emacs, Obsidian code is under their original directories
- It separates the code in src/khoj meant for python packaging from
code for external interfaces like Emacs and Obsidian
This commit is contained in:
6
.github/workflows/build_khoj_el.yml
vendored
6
.github/workflows/build_khoj_el.yml
vendored
@@ -7,13 +7,13 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- src/khoj/interface/emacs/*.el
|
||||
- src/interface/emacs/*.el
|
||||
- .github/workflows/build_khoj_el.yml
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- src/khoj/interface/emacs/*.el
|
||||
- src/interface/emacs/*.el
|
||||
- .github/workflows/build_khoj_el.yml
|
||||
|
||||
jobs:
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
- name: Run
|
||||
env:
|
||||
# Khoj recipe from https://github.com/melpa/melpa/pull/8321/files
|
||||
RECIPE: (khoj :fetcher github :repo "debanjum/khoj" :files ("src/khoj/interface/emacs/*.el"))
|
||||
RECIPE: (khoj :fetcher github :repo "debanjum/khoj" :files ("src/interface/emacs/*.el"))
|
||||
EXIST_OK: true
|
||||
LOCAL_REPO: ${{ github.workspace }}
|
||||
run: echo $GITHUB_REF && make -C ~/melpazoid
|
||||
|
||||
12
.github/workflows/test_khoj_el.yml
vendored
12
.github/workflows/test_khoj_el.yml
vendored
@@ -5,15 +5,15 @@ on:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- src/khoj/interface/emacs/*.el
|
||||
- src/khoj/interface/emacs/tests/*.el
|
||||
- src/interface/emacs/*.el
|
||||
- src/interface/emacs/tests/*.el
|
||||
- .github/workflows/test_khoj_el.yml
|
||||
pull_request:
|
||||
branches:
|
||||
- 'master'
|
||||
paths:
|
||||
- src/khoj/interface/emacs/*.el
|
||||
- src/khoj/interface/emacs/tests/*.el
|
||||
- src/interface/emacs/*.el
|
||||
- src/interface/emacs/tests/*.el
|
||||
- .github/workflows/test_khoj_el.yml
|
||||
|
||||
jobs:
|
||||
@@ -44,6 +44,6 @@ jobs:
|
||||
(unless package-archive-contents (package-refresh-contents)) \
|
||||
(unless (package-installed-p 'transient) (package-install 'transient)))" \
|
||||
-l ert \
|
||||
-l ./src/khoj/interface/emacs/khoj.el \
|
||||
-l ./src/khoj/interface/emacs/tests/khoj-tests.el \
|
||||
-l ./src/interface/emacs/khoj.el \
|
||||
-l ./src/interface/emacs/tests/khoj-tests.el \
|
||||
-f ert-run-tests-batch-and-exit
|
||||
|
||||
Reference in New Issue
Block a user