Add environment module skeleton.
This commit is contained in:
parent
f62fe1a08c
commit
1e1422fc77
2 changed files with 45 additions and 2 deletions
|
@ -41,14 +41,14 @@ BBSTOOL-DEPS=bbstool.scm testing.import.scm listing.import.scm \
|
|||
member-fees.import.scm members-dir.import.scm \
|
||||
csv-simple.import.scm bank-account.import.scm \
|
||||
bank-fio.import.scm members-payments.import.scm \
|
||||
web-static.import.scm
|
||||
web-static.import.scm environment.import.scm
|
||||
|
||||
BBSTOOL-OBJS=bbstool.o testing.o listing.o month.o period.o ansi.o \
|
||||
dictionary.o command-line.o members-base.o utils.o primes.o \
|
||||
member-record.o configuration.o progress.o table.o cards.o \
|
||||
members-print.o member-fees.o members-dir.o csv-simple.o \
|
||||
bank-account.o bank-fio.o members-payments.o member-parser.o \
|
||||
web-static.o
|
||||
web-static.o environment.o
|
||||
|
||||
.PHONY: imports
|
||||
imports: $(BBSTOOL-DEPS)
|
||||
|
@ -225,3 +225,7 @@ WEB-STATIC-SOURCES=web-static.scm member-record.import.scm \
|
|||
web-static.o: web-static.import.scm
|
||||
web-static.import.scm: $(WEB-STATIC-SOURCES)
|
||||
|
||||
ENVIRONMENT-SOURCES=environment.scm
|
||||
|
||||
environment.o: environment.import.scm
|
||||
environment.import.scm: $(ENVIRONMENT-SOURCES)
|
||||
|
|
39
src/environment.scm
Normal file
39
src/environment.scm
Normal file
|
@ -0,0 +1,39 @@
|
|||
;;
|
||||
;; environment.scm
|
||||
;;
|
||||
;; Process environment helpers.
|
||||
;;
|
||||
;; ISC License
|
||||
;;
|
||||
;; Copyright 2023 Brmlab, z.s.
|
||||
;; Dominik Pantůček <dominik.pantucek@trustica.cz>
|
||||
;;
|
||||
;; Permission to use, copy, modify, and/or distribute this software
|
||||
;; for any purpose with or without fee is hereby granted, provided
|
||||
;; that the above copyright notice and this permission notice appear
|
||||
;; in all copies.
|
||||
;;
|
||||
;; THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
|
||||
;; WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
|
||||
;; WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
|
||||
;; AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
|
||||
;; CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS
|
||||
;; OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
|
||||
;; NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
||||
;; CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
;;
|
||||
|
||||
(declare (unit environment))
|
||||
|
||||
(module
|
||||
environment
|
||||
(
|
||||
edit-file
|
||||
)
|
||||
|
||||
(import scheme)
|
||||
|
||||
(define (edit-file file-path)
|
||||
#f)
|
||||
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue