Skip to content

Commit

Permalink
CI and initialise with copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
crmsnbleyd committed Sep 1, 2024
1 parent d7e0a52 commit 1255e20
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: CI

on:
pull_request:
push:

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
include:
- emacs: 27.1
ts: false
lint: true
- emacs: snapshot
ts: true
lint: true
steps:
- uses: purcell/setup-emacs@master
with:
version: ${{ matrix.emacs }}
- uses: actions/checkout@v4

- name: Install package-lint
run: emacs -Q -l .github/workflows/init.el -batch
--eval "(package-install 'package-lint)"

- name: Lint evangelion-theme
run: emacs -Q -l .github/workflows/init.el -batch
-f package-lint-batch-and-exit
evangelion-theme.el

- name: Byte-compile
run: emacs -Q -l .github/workflows/init.el -batch
-L .
--eval "(setq byte-compile-error-on-warn t)"
-f batch-byte-compile
*.el
6 changes: 6 additions & 0 deletions .github/workflows/init.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
(progn
(require 'package)
(push '("melpa" . "https://melpa.org/packages/") package-archives)
(package-initialize)
(unless (seq-find (lambda (e) (string= "melpa" (package-desc-archive (cadr e)))) package-archive-contents)
(package-refresh-contents)))
11 changes: 11 additions & 0 deletions evangelion-theme.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
;;; evangelion-theme.el --- a purple colorscheme inspired by neon genesis evangelion -*- lexical-binding: t; -*-
;;; Version: 0.01

;; Copyright (C) 2024 Andrew Jose, xero harrison

;; SPDX-License-Identifier: GPL-3.0-or-later
;; Author: Andrew Jose <[email protected]>
;; Maintainer: Andrew Jose <[email protected]>
;; URL: https://github.com/crmsnbleyd/evangelion-theme
;; Package-Requires: ((emacs "27.1"))
;; Keywords: faces, theme

0 comments on commit 1255e20

Please sign in to comment.