Updated build script
This commit is contained in:
5
build.sh
5
build.sh
@@ -1,10 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
dir=$1
|
||||
|
||||
go get -u git.townsourced.com/townsourced/ironsmith
|
||||
|
||||
ls $dir
|
||||
#cd $dir/src/git.townsourced.com/townsourced/ironsmith
|
||||
|
||||
go-bindata web/... && go build -a -v -o ironsmith
|
||||
|
3
json.go
3
json.go
@@ -6,7 +6,6 @@ package main
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
@@ -85,8 +84,6 @@ func parseInput(r *http.Request, result interface{}) error {
|
||||
return err
|
||||
}
|
||||
|
||||
fmt.Printf("JSON Input: %s\n", buff)
|
||||
|
||||
if lr.N == 0 {
|
||||
return errInputTooLarge
|
||||
}
|
||||
|
Reference in New Issue
Block a user