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

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