Commit 3597e916 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent ae3c4829
...@@ -20,11 +20,21 @@ ...@@ -20,11 +20,21 @@
# See COPYING file for full licensing terms. # See COPYING file for full licensing terms.
# See https://www.nexedi.com/licensing for rationale and options. # See https://www.nexedi.com/licensing for rationale and options.
input=$(dirname $0)/δtail.go # This program emits δtail.go that is suitable for templating with the
# following parameters:
#
# PACKAGE
# ID
#
# The types that are emitted are
#
# ΔTail
# δRevEntry
TODO input=$(dirname $0)/δtail.go
# import "lab.nexedi.com/kirr/neo/go/zodb" cat "$input" |sed \
# package zodb -> package PACKAGE -e 's/package zodb/package PACKAGE/g' \
# Tid -> zodb.Tid -e '/package PACKAGE/a \\nimport "lab.nexedi.com/kirr/neo/go/zodb"' \
# Oid -> ID -e 's/Tid/zodb.Tid/g' \
-e 's/Oid/ID/g'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment