Skip to content

Commit

Permalink
Add package version metadata
Browse files Browse the repository at this point in the history
Needed for a future commit to add package.el support.
  • Loading branch information
darkfeline committed Jan 25, 2024
1 parent ba2fb20 commit d3038ea
Show file tree
Hide file tree
Showing 8 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions elisp/proto/generate.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; Generates Emacs Lisp bindings for a protocol buffer definition.
Expand Down
2 changes: 2 additions & 0 deletions elisp/proto/proto.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; Provides basic support for protocol buffers.
Expand Down
2 changes: 2 additions & 0 deletions elisp/runfiles/runfiles.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; This library implements support for Bazel runfiles.
Expand Down
1 change: 1 addition & 0 deletions examples/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ elisp_library(
srcs = [
"lib-2-a.el",
"lib-2-b.el",
"lib-2-pkg.el",
":module",
],
fatal_warnings = False,
Expand Down
2 changes: 2 additions & 0 deletions examples/lib-1.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; Example library.
Expand Down
15 changes: 15 additions & 0 deletions examples/lib-2-pkg.el
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
;; Copyright 2023 Google LLC
;;
;; Licensed under the Apache License, Version 2.0 (the "License");
;; you may not use this file except in compliance with the License.
;; You may obtain a copy of the License at
;;
;; https://www.apache.org/licenses/LICENSE-2.0
;;
;; Unless required by applicable law or agreed to in writing, software
;; distributed under the License is distributed on an "AS IS" BASIS,
;; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
;; See the License for the specific language governing permissions and
;; limitations under the License.

(define-package "lib-2" "0.1.0")
2 changes: 2 additions & 0 deletions examples/subdir/lib-3.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; Example library in a subdirectory.
Expand Down
2 changes: 2 additions & 0 deletions tests/test-lib.el
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
;; See the License for the specific language governing permissions and
;; limitations under the License.

;; Version: 0.1.0

;;; Commentary:

;; Example functions to test coverage reporting. This has to be in a separate
Expand Down

0 comments on commit d3038ea

Please sign in to comment.