Commit 355ffc66 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f21b6a69
#!/bin/sh -e #!/bin/sh -e
# generate b.Tree with compile-time KEY & VALUE # generate b.Tree with compile-time KEY=zodb.Oid, VALUE=uint64
KEY=zodb.Oid
VALUE=uint64
b=github.com/cznic/b b=github.com/cznic/b
Bdir=`go list -f '{{.Dir}}' $b` Bdir=`go list -f '{{.Dir}}' $b`
Brev=`cd $Bdir && git describe --always` Brev=`cd $Bdir && git describe --always`
out=fsbtree.go out=fsbtree.go
KEY=zodb.Oid
VALUE=uint64
echo "// DO NOT EDIT - AUTOGENERATED (by gen-fsbtree from $b $Brev)" >$out echo "// DO NOT EDIT - AUTOGENERATED (by gen-fsbtree from $b $Brev)" >$out
echo "// KEY=$KEY VALUE=$VALUE" >>$out echo "// KEY=$KEY VALUE=$VALUE" >>$out
echo "// ---- 8< ----" >>$out echo "// ---- 8< ----" >>$out
......
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
// XXX based on code from ZODB ? // XXX based on code from ZODB ?
// FileStorage. Index // FileStorage. Index
package fs1
import ( import (
) )
......
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