summaryrefslogtreecommitdiff
path: root/xS/xS-gen-version.awk
diff options
context:
space:
mode:
Diffstat (limited to 'xS/xS-gen-version.awk')
-rw-r--r--xS/xS-gen-version.awk14
1 files changed, 0 insertions, 14 deletions
diff --git a/xS/xS-gen-version.awk b/xS/xS-gen-version.awk
deleted file mode 100644
index 1312a63..0000000
--- a/xS/xS-gen-version.awk
+++ /dev/null
@@ -1,14 +0,0 @@
-# xS-gen-version.awk: extract version information from the CMake script
-#
-# Copyright (c) 2022, Přemysl Eric Janouch <p@janouch.name>
-# SPDX-License-Identifier: 0BSD
-
-Command == "project" {
- for (i = 2; i in Args; i++)
- if (Args[i] == "VERSION") {
- print "package main"
- print ""
- print "const projectVersion = `" Args[++i] "`"
- exit
- }
-}