Skip to content

Commit

Permalink
Rename org-journal.svg -> logo.svg and update title
Browse files Browse the repository at this point in the history
  • Loading branch information
casch-at committed Feb 20, 2024
1 parent 264c3a2 commit e4e5e3e
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 59 deletions.
4 changes: 0 additions & 4 deletions .dir-locals.el

This file was deleted.

6 changes: 3 additions & 3 deletions README.org
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[https://github.com/bastibe/org-journal/actions/workflows/test.yml][file:https://github.com/bastibe/org-journal/actions/workflows/test.yml/badge.svg?branch=master]] [[https://elpa.nongnu.org/nongnu/org-journal.html][https://elpa.nongnu.org/nongnu/org-journal.svg]] [[http://melpa.org/#/org-journal][file:http://melpa.org/packages/org-journal-badge.svg]] [[http://stable.melpa.org/#/org-journal][file:http://stable.melpa.org/packages/org-journal-badge.svg]] [[contributors][file:https://img.shields.io/github/contributors/bastibe/org-journal.svg]] [[license][file:https://img.shields.io/github/license/bastibe/org-journal.svg]]
[[https://github.com/bastibe/org-journal/actions/workflows/test.yml][file:https://github.com/bastibe/org-journal/actions/workflows/test.yml/badge.svg?branch=master]] [[https://elpa.nongnu.org/nongnu/org-journal.html][https://elpa.nongnu.org/nongnu/org-journal.svg]] [[http://melpa.org/#/org-journal][file:http://melpa.org/packages/org-journal-badge.svg]] [[http://stable.melpa.org/#/org-journal][file:http://stable.melpa.org/packages/org-journal-badge.svg]] [[contributors][file:https://img.shields.io/github/contributors/bastibe/logo.svg]] [[license][file:https://img.shields.io/github/license/bastibe/logo.svg]]

#+CAPTION: The org-journal logo
[[./org-journal.svg]]
[[./logo.svg]]

* org-journal

Expand All @@ -12,7 +12,7 @@
Feel free to use, modify and improve the code!
— mtvoid, bastibe

[[open-issues][file:https://img.shields.io/github/issues/bastibe/org-journal.svg]] [[closed-issues][file:https://img.shields.io/github/issues-closed/bastibe/org-journal.svg]] [[open-pull-requests][file:https://img.shields.io/github/issues-pr/bastibe/org-journal.svg]] [[closed-pull-requests][file:https://img.shields.io/github/issues-pr-closed/bastibe/org-journal.svg]]
[[open-issues][file:https://img.shields.io/github/issues/bastibe/logo.svg]] [[closed-issues][file:https://img.shields.io/github/issues-closed/bastibe/logo.svg]] [[open-pull-requests][file:https://img.shields.io/github/issues-pr/bastibe/logo.svg]] [[closed-pull-requests][file:https://img.shields.io/github/issues-pr-closed/bastibe/logo.svg]]

** Synopsis

Expand Down
53 changes: 26 additions & 27 deletions el.make
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
##
# this file is part of el.make
##
#
# copyright: 2024- christian schwarzgruber ([email protected])
#
# version: 0.1.0
# version: 0.2.0
#
# source: https://github.com/casch-at/el.make
#
Expand All @@ -30,44 +31,42 @@
#
# el.make
#
# an emacs lisp `make` file
# an emacs¹ lisp `make` file
##
# ¹) Emacs -- also known for being a "Text Editor"
##

# todo(cschwarzgruber): hmm?
export LC_ALL = C

emacs = emacs
flags = -Q --batch --no-site-file
batch = $(emacs) $(flags)

## test directory
test-d = tests

## source directory
src-d = src
# quiet mode
q = @
log = $(q)echo

## all source files
el-f = $(wildcard $(src-d)/*.el)
emacs = emacs
batch = $(q)$(emacs) -Q --batch --no-site-file

## all test files
test-f = $(wildcard $(test-d)/*.el)
src = src
src-el = $(wildcard $(src)/*.el)
src-elc = $(addprefix $(src)/, $(notdir $(src-el:.el=.elc)))

## all compiled files
elc-f = $(addprefix $(src-d)/, $(notdir $(el-f:.el=.elc)))
tests = tests
tests-el = $(wildcard $(tests)/*.el)

.phony: all compile test clean
# .elc pattern rule
$(src)/%.elc: $(src)/%.el
$(log) "\nbyte-compiling... \n $<"
$(batch) -f batch-byte-compile $<

all: compile test
.phony: all byte-compile test clean

compile: $(elc-f)
all: byte-compile test

test: $(elc-f)
@echo "running tests... "
@$(batch) -L $(src-d) -l $(test-f) -f ert-run-tests-batch-and-exit
byte-compile: $(src-elc)

$(src-d)/%.elc: $(src-d)/%.el
@echo "compiling $<..."
@$(batch) -f batch-byte-compile $<
test: $(src-el)
$(log) "\nrunning tests...\n"
$(batch) -L $(src) -l $(tests-el) -f ert-run-tests-batch-and-exit

clean:
rm -f $(elc-f)
rm -f $(src-elc)
48 changes: 23 additions & 25 deletions org-journal.svg → logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e4e5e3e

Please sign in to comment.