M Gopkg.lock +1 -1
@@ 22,7 22,7 @@ memo = "c1423f2be1d57de055a30d1105738205
branch = "master"
name = "github.com/serussell/svgo"
packages = ["."]
- revision = "24b9676e6feea3e1bb4ed798984348f2de7d159e"
+ revision = "ca525ed8efd2c2c7a9fda87674c0c13893097957"
[[projects]]
name = "github.com/stretchr/testify"
M Makefile +1 -1
@@ 1,5 1,5 @@
all:
- orgchart \
+ ./orgchart \
-f "${WHO}" \
-t 3,4,5 \
-i "${DATA}" \
M bitbucket-pipelines.yml +3 -3
@@ 29,6 29,6 @@ pipelines:
- GOOS=linux go build -ldflags "-X main.Version=${BITBUCKET_BOOKMARK}" -v -o orgchart_${BITBUCKET_BOOKMARK}_linux ./cmd/orgchart
- GOOS=darwin go build -ldflags "-X main.Version=${BITBUCKET_BOOKMARK}" -v -o orgchart_${BITBUCKET_BOOKMARK}_darwin ./cmd/orgchart
- GOOS=windows go build -ldflags "-X main.Version=${BITBUCKET_BOOKMARK}" -v -o orgchart_${BITBUCKET_BOOKMARK}_windows.exe ./cmd/orgchart
- - curl -X POST "https://${BB_AUTH_STRING}@api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_linux"
- - curl -X POST "https://${BB_AUTH_STRING}@api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_darwin"
- - curl -X POST "https://${BB_AUTH_STRING}@api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_windows.exe"
+ - curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_linux"
+ - curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_darwin"
+ - curl -X POST --user "${BB_AUTH_STRING}" "https://api.bitbucket.org/2.0/repositories/${BITBUCKET_REPO_OWNER}/${BITBUCKET_REPO_SLUG}/downloads" --form files=@"orgchart_${BITBUCKET_BOOKMARK}_windows.exe"
M svg.go +1 -1
@@ 103,7 103,7 @@ func RenderSVG(out io.Writer, rs Ranks,
c.FeGaussianBlur(svg.Filterspec{In: "SourceGraphic", Result: "blur"}, 1, 1)
c.Fend()
c.Def()
- c.Style(css)
+ c.Style("text/css", css)
c.Gid(_id)
c.Rect(0, 0, boxW, boxH)
c.Gend()