[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/kotlin-mode 8e6dd578f2 154/162: Merge pull request #52 fro
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/kotlin-mode 8e6dd578f2 154/162: Merge pull request #52 from taku0/add-makefile |
Date: |
Sat, 29 Jan 2022 08:25:32 -0500 (EST) |
branch: elpa/kotlin-mode
commit 8e6dd578f2b3d77ac33b6384d2bfe1b1f6799a1a
Merge: ab61099682 29730e7908
Author: Gregg Hernandez <greggory.hz@gmail.com>
Commit: GitHub <noreply@github.com>
Merge pull request #52 from taku0/add-makefile
Add Makefile
---
Makefile | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 56 insertions(+)
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000000..aa17634b0c
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,56 @@
+CASK ?= cask
+EMACS ?= emacs
+VERSION := $(shell EMACS=$(EMACS) $(CASK) version)
+
+SRC = $(wildcard *.el)
+PACKAGE = dist/kotlin-mode-$(VERSION).tar
+
+.PHONY: help all deps package install test clean
+
+help:
+## Shows this message.
+# Process this Makefile with following filters
+#
+# - Remove empty line.
+# - Remove line starting with whitespace, dot, or uppercase letters.
+# - Remove line containing ## no-doc.
+# - Remove after colon if the line is not a comment line.
+# - Replace /^## / to " ".
+# - Remove other comment lines.
+# - Insert newline before rules.
+ @sed -e '/^\s*$$/d; /^[ .A-Z]/d; /## no-doc/d; s/^\([^#][^:]*\):.*/\1/;
s/^## / /; /^#/d; s/^[^ ]/\n&/' Makefile
+
+all: package
+## Builds the package.
+
+deps:
+## Installs the dependencies.
+ $(CASK) install
+
+$(PACKAGE): $(SRC) deps ## no-doc
+ rm -rf dist
+ $(CASK) package
+
+package: $(PACKAGE)
+## Builds the package.
+
+install: package
+## Installs the package.
+ $(CASK) exec $(EMACS) --batch \
+ -l package \
+ -f package-initialize \
+ -f package-refresh-contents \
+ --eval '(package-install-file "$(PACKAGE)")'
+
+clean:
+## Cleans the dist directory and *.elc.
+ rm -rf dist *.elc
+
+test:
+## Tests the package.
+ $(CASK) exec $(EMACS) --batch -q \
+ --eval "(add-to-list 'load-path \""$(shell readlink -f .)"\")" \
+ --eval "(add-to-list 'load-path \""$(shell readlink -f .)"/test\")" \
+ -f batch-byte-compile \
+ *.el
+ cask exec ert-runner -L . -L test
- [nongnu] elpa/kotlin-mode b86f9b4607 147/162: Fix indentation after comment containing close brackets, (continued)
- [nongnu] elpa/kotlin-mode b86f9b4607 147/162: Fix indentation after comment containing close brackets, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode fe905c587a 023/162: kotlin-mode: Highlight classes/enums, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode c91a82b864 031/162: kotlin-mode: Highlight try-`catch-finally', ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 9314dd61f6 040/162: kotlin-mode: Use syntax-propertize-function, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 748fcbbec9 049/162: Fix bug in regular expression, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 4f1d0a3919 055/162: Add 'interface' as a type decl keyword, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode e75f8b0113 144/162: Make compatible with Emacs 24.3, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode b9d03a769b 158/162: Add version attribute, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 36b030022e 120/162: Improve identification and handling of line continuation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 639203bf84 143/162: Require cl-lib instead of cl, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8e6dd578f2 154/162: Merge pull request #52 from taku0/add-makefile,
ELPA Syncer <=
- [nongnu] elpa/kotlin-mode ffeb70e788 048/162: Temporarily disable syntax highlighting for "by", "get", "set", "in", and "out", ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 86b94d7d34 160/162: Add LICENSE file, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 39db5b6208 033/162: kotlin-mode: Highlight properties, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 300acc2341 036/162: kotlin-mode: Highlight package names, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a174f5ba44 039/162: kotlin-mode: Add kotlin-mode--match-interpolation, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 42b7af8122 046/162: 'data class' -> 'data', ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 6c5531cd6f 059/162: Add autoload cookie to the kotlin-mode, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 876cc27dc1 159/162: Merge pull request #63 from phikal/patch-1, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode a51321a4d1 161/162: Merge pull request #64 from phst/license, ELPA Syncer, 2022/01/29
- [nongnu] elpa/kotlin-mode 8e4018e7a5 044/162: Added new keywords to kotlin-mode, ELPA Syncer, 2022/01/29