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

.

parent ae3c4829
......@@ -20,11 +20,21 @@
# See COPYING file for full licensing terms.
# 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"
# package zodb -> package PACKAGE
# Tid -> zodb.Tid
# Oid -> ID
cat "$input" |sed \
-e 's/package zodb/package PACKAGE/g' \
-e '/package PACKAGE/a \\nimport "lab.nexedi.com/kirr/neo/go/zodb"' \
-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