Skip to content

Commit

Permalink
hello world
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoshwolfe committed Jun 1, 2011
1 parent 2ee6b2d commit 7a305b4
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
_go_.[568]
blokus
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

# GOROOT must be set.
ifeq ($(GOROOT),)
$(error $$GOROOT is not set; use gomake or set $$GOROOT in your environment)
endif
include $(GOROOT)/src/Make.inc

TARG=blokus
GOFILES:=$(wildcard *.go)

include $(GOROOT)/src/Make.cmd

.PHONY: fmt
fmt:
gofmt -w $(GOFILES)

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

import fmt "fmt"

func main() {
fmt.Printf("Hello, World!\n")
}

0 comments on commit 7a305b4

Please sign in to comment.