diff --git a/.gitignore b/.gitignore index 8657b34..3bccadc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,2 @@ -# ---> Go -# Binaries for programs and plugins -*.exe -*.exe~ -*.dll -*.so -*.dylib - -# Test binary, built with `go test -c` -*.test - -# Output of the go coverage tool, specifically when used with LiteIDE -*.out - -# Dependency directories (remove the comment below to include it) -# vendor/ - -server/* \ No newline at end of file +server/* +bin/* \ No newline at end of file diff --git a/bin/cmd b/bin/cmd deleted file mode 100755 index 1c630d2..0000000 Binary files a/bin/cmd and /dev/null differ diff --git a/bin/main b/bin/main deleted file mode 100755 index bec5d7d..0000000 Binary files a/bin/main and /dev/null differ diff --git a/build.sh b/build.sh index afeb3da..112a57c 100755 --- a/build.sh +++ b/build.sh @@ -1,5 +1,6 @@ #!/bin/sh -go build -o bin/main src/main.go -go build -o bin/cmd src/cmd.go +mkdir bin && \ +go build -o bin/main src/main.go && \ +go build -o bin/cmd src/cmd.go && \ sudo docker build -t magmise/minecraft .