File tree Expand file tree Collapse file tree 6 files changed +128
-0
lines changed Expand file tree Collapse file tree 6 files changed +128
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+ updates :
3
+ - package-ecosystem : github-actions
4
+ directory : /
5
+ schedule :
6
+ interval : daily
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
14
+ jobs :
15
+ test :
16
+ runs-on : ${{ matrix.os }}
17
+ continue-on-error : ${{ matrix.experimental }}
18
+ strategy :
19
+ fail-fast : false
20
+ matrix :
21
+ os : [ubuntu-latest, macos-latest, windows-latest]
22
+ emacs-version :
23
+ - 26.3
24
+ - 27.2
25
+ - 28.2
26
+ - 29.1
27
+ experimental : [false]
28
+ include :
29
+ - os : ubuntu-latest
30
+ emacs-version : snapshot
31
+ experimental : true
32
+ - os : macos-latest
33
+ emacs-version : snapshot
34
+ experimental : true
35
+ - os : windows-latest
36
+ emacs-version : snapshot
37
+ experimental : true
38
+
39
+ steps :
40
+ - uses : actions/checkout@v3
41
+
42
+ - uses : jcs090218/setup-emacs@master
43
+ with :
44
+ version : ${{ matrix.emacs-version }}
45
+
46
+ - uses : emacs-eask/setup-eask@master
47
+ with :
48
+ version : ' snapshot'
49
+
50
+ - name : Run tests
51
+ run :
52
+ make ci
Original file line number Diff line number Diff line change
1
+ # ignore these directories
2
+ /.git
3
+ /recipes
4
+
5
+ # ignore log files
6
+ /.log
7
+
8
+ # ignore generated files
9
+ * .elc
10
+
11
+ # eask packages
12
+ .eask /
13
+ dist /
14
+
15
+ # packaging
16
+ * -autoloads.el
17
+ * -pkg.el
18
+
19
+ # personal test
20
+ /_test
Original file line number Diff line number Diff line change
1
+ (package "blacken"
2
+ "0.2.0"
3
+ "Reformat python buffers using the \"black\" formatter")
4
+
5
+ (website-url "https://github.com/proofit404/blacken")
6
+ (keywords "convenience" "blacken")
7
+
8
+ (package-file "blacken.el")
9
+
10
+ (script "test" "echo \"Error: no test specified\" && exit 1")
11
+
12
+ (source "gnu")
13
+
14
+ (depends-on "emacs" "25.2")
15
+
16
+ (setq network-security-level 'low) ; see https://github.com/jcs090218/setup-emacs-windows/issues/156#issuecomment-932956432
Original file line number Diff line number Diff line change
1
+ EMACS ?= emacs
2
+ EASK ?= eask
3
+
4
+ .PHONY : clean checkdoc lint package install compile test
5
+
6
+ ci : clean package install compile
7
+
8
+ package :
9
+ @echo " Packaging..."
10
+ $(EASK ) package
11
+
12
+ install :
13
+ @echo " Installing..."
14
+ $(EASK ) install
15
+
16
+ compile :
17
+ @echo " Compiling..."
18
+ $(EASK ) compile
19
+
20
+ test :
21
+ @echo " Testing..."
22
+ $(EASK ) test ert ./test/* .el
23
+
24
+ checkdoc :
25
+ @echo " Run checkdoc..."
26
+ $(EASK ) lint checkdoc
27
+
28
+ lint :
29
+ @echo " Run package-lint..."
30
+ $(EASK ) lint package
31
+
32
+ clean :
33
+ $(EASK ) clean all
Original file line number Diff line number Diff line change 7
7
; ; Version: 0.2.0
8
8
; ; Package-Requires: ((emacs "25.2"))
9
9
; ; SPDX-License-Identifier: GPL-3.0-or-later
10
+ ; ; Keywords: convenience blacken
10
11
11
12
; ; This file is free software; you can redistribute it and/or modify
12
13
; ; it under the terms of the GNU General Public License as published
You can’t perform that action at this time.
0 commit comments