Processed potato/builtins.scm

Signed-off-by: Jacob Hrbek <kreyren@rixotstudio.cz>
This commit is contained in:
Jacob Hrbek 2022-08-28 13:33:05 +02:00
parent 55f271afee
commit f8da531382
Signed by: kreyren
GPG Key ID: 667F0DAFAF09BA2B

@ -1,6 +1,23 @@
;;; The Project Manager ("pman") -- GNU Guile-based solution for project management
;;; Copyright (C) 2021 Mike Gran <spk121@yahoo.com>
;;; Copyright (C) 2022 Jacob Hrbek <kreyren@rixotstudio.cz>
;;;
;;; The Project Manager is a Free/Libre Open-Source Software; you can redistribute it and/or modify it under the terms of the MIT License as published by the Massachusetts Institute of Technology
;;;
;;; This project is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MIT License for more details.
;;;
;;; You should have received a copy of the MIT License along with the project. If not, see <https://mit-license.org>.
(define-module (potato builtins)
#:export (builtin-makevars
builtin-rules))
; builtin-rules
))
;;; Commentary:
;;;
;;; Declaration of the built-in functionality such as variables and helper rules
;;;
;;; Code:
(define builtin-makevars
'(("MAKE" . "make")
@ -19,6 +36,7 @@
("GUILD" . "guild")
("GFLAGS" . "-W2")))
;; FIXME(Krey): This was commented out by the original author and it's use needs to be abstracted and re-implemented
#;(define builtin-rules
`((".c"
""
@ -56,3 +74,5 @@
(".scm"
".go"
(,~ ,($ GUILD) "compile" ,($ GFLAGS) ,$<))))
;;; builtins.scm ends here