Skip to content

Commit

Permalink
feat: initial setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Yakiyo committed Aug 22, 2023
1 parent 5cfbee5 commit 8401b54
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@

# Go workspace file
go.work

# Builds
tilde*
11 changes: 11 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@

tasks:
- name: Script Task
before: brew install just
init: go get
command: just build


vscode:
extensions:
- golang.Go
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/Yakiyo/tilde

go 1.20
Empty file added go.sum
Empty file.
15 changes: 15 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
default:
echo 'Hello, world!'

update:
go mod tidy
go get

build:
go build -o tilde main.go

@run *arg:
go run main.go $@

fmt:
go fmt ./...
7 changes: 7 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package main

import "fmt"

func main() {
fmt.Println("Hello World")
}

0 comments on commit 8401b54

Please # to comment.