about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.gitignore7
-rw-r--r--README.md3
-rw-r--r--Taskfile.yml13
-rw-r--r--cmd/bot/main.go7
-rw-r--r--go.mod3
-rw-r--r--pkg/bot/bot.go7
6 files changed, 40 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..286f9e9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,7 @@
+/.idea/
+/.vscode/
+
+.DS_STORE
+
+/build/
+.env
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..47571bc
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# 🐈‍⬛ jinx
+
+insane?
\ No newline at end of file
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..e421547
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,13 @@
+version: "3"
+
+tasks:
+  build:
+    desc: "Builds Jinx binaries."
+    cmds:
+      - go build -o build/bot jinx/cmd/bot
+
+  run:
+    desc: "Runs Jinx bot binary."
+    deps: [build]
+    cmds:
+      - build/bot
diff --git a/cmd/bot/main.go b/cmd/bot/main.go
new file mode 100644
index 0000000..2813504
--- /dev/null
+++ b/cmd/bot/main.go
@@ -0,0 +1,7 @@
+package main
+
+import "jinx/pkg/bot"
+
+func main() {
+	bot.Greet()
+}
diff --git a/go.mod b/go.mod
new file mode 100644
index 0000000..d59af7c
--- /dev/null
+++ b/go.mod
@@ -0,0 +1,3 @@
+module jinx
+
+go 1.18
diff --git a/pkg/bot/bot.go b/pkg/bot/bot.go
new file mode 100644
index 0000000..28c506c
--- /dev/null
+++ b/pkg/bot/bot.go
@@ -0,0 +1,7 @@
+package bot
+
+import "fmt"
+
+func Greet() {
+	fmt.Println("hello, world!")
+}