Commit 5c62afeb authored by Tamer Tas's avatar Tamer Tas
Browse files

Remove dependencies & Prepare for v0.1.0

Update for 0.1.0
parent 6c9cb159
Loading
Loading
Loading
Loading
+10 −6
Original line number Diff line number Diff line
@@ -2,24 +2,28 @@ language: go

sudo: false

# TODO use travis build matrix + GOOS for cross-compilation or goxc
matrix:
  include:
  - go: 1.5

install:
  - go get github.com/tools/godep

script:
  - GOARCH=amd64 GOOS=linux godep go build tmplt.go
  - GOARCH=amd64 GOOS=linux go build tmplt.go && mv tmplt tmplt_linux_64 && tar czvf tmplt-0.1.0-linux_amd64.tgz tmplt_linux_64
  - GOARCH=amd64 GOOS=darwin go build tmplt.go && mv tmplt tmplt_darwin_64 && tar czvf tmplt-0.1.0-darwin_amd64.tgz tmplt_darwin_64

  - GOARCH=386 GOOS=linux go build tmplt.go && mv tmplt tmplt_linux_32 && tar czvf tmplt-0.1.0-linux_386.tgz tmplt_linux_32
  - GOARCH=386 GOOS=darwin go build tmplt.go && mv tmplt tmplt_darwin_32 && tar czvf tmplt-0.1.0-darwin_386.tgz tmplt_darwin_32

deploy:
  provider: releases
  skip_cleanup: true

  api_key:
    secure: W2mjI9R3ZnB7QsYuJitwT/h+7jR/Pj6WSjKERLerRPN0z5nbCCJdTkw7r9gsGBblT2AMHx7qxws2S5AMS4MypJNmOj0ZW5TWiDkobAOENUbjGEjxii2yLuNxcsBE5Ets1s5dPB/RpvHh/PGTC5IX80ISVosRVTQ+ABexuLsFWcG/CpmV/Tb1BxWso3kP2UvupF3XwDJoM2a/hNQXvyzZoO7FVLD/YiWvRNPf9zqrDow3wRAg3YLHqIaHJ2V68rqXb+x/FQ4YpD21tBAAIJc1NSttOXQ3xEyhTMQP0Ba2z+FOvYBVxVJgrBZiV7B6F26GjLHBb104sLTprF6xVQKN6AcPLzgBMO6jZ2apr+On0nglMl4nRbE7TRdEzCZbEzHGxbxAhCdArObuVQN09+MNnUYtJDv/xzkwEpK1NbG/3sEL8zKhJrEYznNWCONKTHgXWp7o8pljOcV4A8nDVKVjul5/VMaZ5Swgs0BQ6QeU+EaprWP6hGuccGLUH+ZX8Wqnl7hV+rRzYIYEeR8d1df3pMUGmnWLJsbI+0K/OcAbqMCmEUBM15XX6+yaHrP1RZQTOKH8F2NR+oVl9EHEQZCt3J4DlSVzB86vkMvXgFuWXq6Q3uJSyUiOnRhGJdykHXNwdvIlkmidyVLIeKTdfCW+I4HoTHBi1/zvmm5sD1Idt2o=

  file: tmplt
  file: tmplt-0.1.0-darwin_386.tgz
  file: tmplt-0.1.0-darwin_amd64.tgz
  file: tmplt-0.1.0-linux_386.tgz
  file: tmplt-0.1.0-linux_amd64.tgz

  on:
    tags: true

Godeps/Godeps.json

deleted100644 → 0
+0 −53
Original line number Diff line number Diff line
{
	"ImportPath": "github.com/tmrts/tmplt",
	"GoVersion": "go1.5.1",
	"Deps": [
		{
			"ImportPath": "github.com/cpuguy83/go-md2man/md2man",
			"Comment": "v1.0.4",
			"Rev": "71acacd42f85e5e82f70a55327789582a5200a90"
		},
		{
			"ImportPath": "github.com/fatih/color",
			"Comment": "v0.1-12-g9aae6aa",
			"Rev": "9aae6aaa22315390f03959adca2c4d395b02fcef"
		},
		{
			"ImportPath": "github.com/google/go-github/github",
			"Rev": "44b1ede22d71e26fa5d7af7a50204f7e6daadfc8"
		},
		{
			"ImportPath": "github.com/google/go-querystring/query",
			"Rev": "2a60fc2ba6c19de80291203597d752e9ba58e4c0"
		},
		{
			"ImportPath": "github.com/mattn/go-colorable",
			"Rev": "3dac7b4f76f6e17fb39b768b89e3783d16e237fe"
		},
		{
			"ImportPath": "github.com/mattn/go-isatty",
			"Rev": "56b76bdf51f7708750eac80fa38b952bb9f32639"
		},
		{
			"ImportPath": "github.com/russross/blackfriday",
			"Comment": "v1.4-12-gd18b67a",
			"Rev": "d18b67ae0afd61dae240896eae1785f00709aa31"
		},
		{
			"ImportPath": "github.com/shurcooL/sanitized_anchor_name",
			"Rev": "10ef21a441db47d8b13ebcc5fd2310f636973c77"
		},
		{
			"ImportPath": "github.com/spf13/cobra",
			"Rev": "73665614cb7fd60a66444c4c9f41a2a4e8a26ad7"
		},
		{
			"ImportPath": "github.com/spf13/pflag",
			"Rev": "08b1a584251b5b62f458943640fc8ebd4d50aaa5"
		},
		{
			"ImportPath": "golang.org/x/crypto/ssh/terminal",
			"Rev": "f18420efc3b4f8e9f3d51f6bd2476e92c46260e9"
		}
	]
}

Godeps/Readme

deleted100644 → 0
+0 −5
Original line number Diff line number Diff line
This directory tree is generated automatically by godep.

Please do not edit.

See https://github.com/tools/godep for more information.

Godeps/_workspace/.gitignore

deleted100644 → 0
+0 −2
Original line number Diff line number Diff line
/pkg
/bin
+0 −19
Original line number Diff line number Diff line
package md2man

import (
	"github.com/russross/blackfriday"
)

func Render(doc []byte) []byte {
	renderer := RoffRenderer(0)
	extensions := 0
	extensions |= blackfriday.EXTENSION_NO_INTRA_EMPHASIS
	extensions |= blackfriday.EXTENSION_TABLES
	extensions |= blackfriday.EXTENSION_FENCED_CODE
	extensions |= blackfriday.EXTENSION_AUTOLINK
	extensions |= blackfriday.EXTENSION_SPACE_HEADERS
	extensions |= blackfriday.EXTENSION_FOOTNOTES
	extensions |= blackfriday.EXTENSION_TITLEBLOCK

	return blackfriday.Markdown(doc, renderer, extensions)
}
Loading