C-bindings for the Go Cwtch Library https://cwtch.im
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

6 lines
265 B

#!/bin/sh
# using '-i.bak' and 'rm .bak' for gnu sed (linux) and bsd sed (macosx) compat
sed -i.bak "s/^package cwtch/\/\/package cwtch/" lib.go
sed -i.bak "s/^\/\/package main/package main/" lib.go
sed -i.bak "s/^\/\/func main()/func main()/" lib.go
rm lib.go.bak