1
0
Fork 0

Rename the project

This commit is contained in:
Daniele Tricoli 2023-02-28 18:47:06 +01:00
parent 2298b3dff3
commit 2bcccb3245
7 changed files with 15 additions and 17 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
freakble
ahaetulla

View File

@ -1,6 +1,6 @@
# go-freakble
# ahaetulla
A simple tool to send messages into [FreakWAN](https://github.com/antirez/sx1276-micropython-driver/)
A simple tool to send messages into [FreakWAN](https://github.com/antirez/freakwan)
over Bluetooth low energy.
**This project is in pre-alpha please use the [python implementation](https://pypi.org/project/freakble/)
@ -10,13 +10,13 @@ instead.**
### From source
To build the latest version of `go-freakble` run:
To build the latest version of `ahaetulla` run:
```
cd /tmp; GOPATH=/tmp/go go install noa.mornie.org/eriol/go-freakble/cmd/freakble@latest
cd /tmp; GOPATH=/tmp/go go install noa.mornie.org/eriol/ahaetulla/cmd/ahaetulla@latest
```
You will find the binary at `/tmp/go/bin/freakble`. You don't need to set
You will find the binary at `/tmp/go/bin/ahaetulla`. You don't need to set
`GOPATH` if you already have it set and you are fine having freakble installed
there.
@ -26,7 +26,7 @@ there.
A simple tool to send messages into FreakWAN.
Usage:
freakble [command]
ahaetulla [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
@ -34,7 +34,5 @@ Available Commands:
scan Scan to find BLE devices.
Flags:
-h, --help help for freakble
Use "freakble [command] --help" for more information about a command.
-h, --help help for ahaetulla
```

View File

@ -8,7 +8,7 @@ import (
// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Use: "freakble",
Use: "ahaetulla",
Short: "A simple tool to send messages into FreakWAN.",
}

View File

@ -6,7 +6,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"noa.mornie.org/eriol/go-freakble/ble"
"noa.mornie.org/eriol/ahaetulla/ble"
)
var scanTime float32

View File

@ -1,6 +1,6 @@
package main
import "noa.mornie.org/eriol/go-freakble/cli"
import "noa.mornie.org/eriol/ahaetulla/cli"
func main() {
cli.Execute()

2
go.mod
View File

@ -1,4 +1,4 @@
module noa.mornie.org/eriol/go-freakble
module noa.mornie.org/eriol/ahaetulla
go 1.19

View File

@ -1,7 +1,7 @@
# build freakble
# build ahaetulla
build:
@go build ./cmd/freakble
@go build ./cmd/ahaetulla
# remove artifacs
clean:
@rm -rf freakble
@rm -rf ahaetulla