File tree 5 files changed +95
-2
lines changed
5 files changed +95
-2
lines changed 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
+
9
+ concurrency :
10
+ group : ${{ github.workflow }}-${{ github.ref }}
11
+ cancel-in-progress : true
12
+
13
+ jobs :
14
+ test :
15
+ runs-on : ${{ matrix.os }}
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os : [ubuntu-latest, macos-latest, windows-latest]
20
+ emacs-version :
21
+ - 26.3
22
+ - 27.2
23
+ - 28.1
24
+ - snapshot
25
+
26
+ steps :
27
+ - uses : actions/checkout@v2
28
+
29
+ - uses : jcs090218/setup-emacs@master
30
+ with :
31
+ version : ${{ matrix.emacs-version }}
32
+
33
+ - uses : actions/setup-node@v2
34
+ with :
35
+ node-version : ' 14'
36
+
37
+ - uses : emacs-eask/setup-eask@master
38
+ with :
39
+ version : ' snapshot'
40
+
41
+ - name : Run tests
42
+ run :
43
+ make ci
Original file line number Diff line number Diff line change 2
2
* .elc
3
3
4
4
# Packaging
5
- .cask
5
+ .eask
6
+ dist /
6
7
7
8
# Backup files
8
9
* ~
Original file line number Diff line number Diff line change
1
+ (package "gdscript-mode"
2
+ "0.1.0"
3
+ "Major mode for Godot's GDScript language")
4
+
5
+ (package-file "gdscript-mode.el")
6
+
7
+ (files "*.el")
8
+
9
+ (source "gnu")
10
+
11
+ (depends-on "emacs" "26.3")
12
+
13
+ (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
+ SHELL := /usr/bin/env bash
2
+
3
+ EMACS ?= emacs
4
+ EASK ?= eask
5
+
6
+ .PHONY : clean checkdoc lint package install compile test
7
+
8
+ # TODO: add `lint` if we can?
9
+ ci : clean package install compile checkdoc
10
+
11
+ package :
12
+ @echo " Packaging..."
13
+ $(EASK ) package
14
+
15
+ install :
16
+ @echo " Installing..."
17
+ $(EASK ) install
18
+
19
+ compile :
20
+ @echo " Compiling..."
21
+ $(EASK ) compile
22
+
23
+ test :
24
+ @echo " Testing..."
25
+ $(EASK ) ert ./test/* .el
26
+
27
+ checkdoc :
28
+ @echo " Run checkdoc..."
29
+ $(EASK ) checkdoc
30
+
31
+ lint :
32
+ @echo " Run package-lint..."
33
+ $(EASK ) lint
34
+
35
+ clean :
36
+ $(EASK ) clean-all
Original file line number Diff line number Diff line change 34
34
(require 'eww )
35
35
(require 'gdscript-customization )
36
36
37
- (defun gdscript-docs-open (url &optional )
37
+ (defun gdscript-docs-open (url &args _ )
38
38
" when `gdscript-docs-use-eww' is true use `eww' else use `browse-url' "
39
39
(if gdscript-docs-use-eww
40
40
(if (file-exists-p url) (eww-open-file url) (eww-browse-url url t ))
You can’t perform that action at this time.
0 commit comments