Browse Source

Added support for (gpm)[https://github.com/pote/gpm]

pull/217/head
Simon Eisenmann 11 years ago
parent
commit
63c3895a4a
  1. 11
      Godeps
  2. 8
      Makefile.am
  3. 7
      configure.ac

11
Godeps

@ -0,0 +1,11 @@ @@ -0,0 +1,11 @@
github.com/gorilla/context 215affda49addc4c8ef7e2534915df2c8c35c6cd
github.com/gorilla/mux 94903de8c98a68d8b4483c529b26a5d146e386a2
github.com/gorilla/securecookie 1b0c7f6e9ab3d7f500fd7d50c7ad835ff428139b
github.com/gorilla/websocket 1e6e1281b05fe5eaaf3300bdedb8e75880b9c6fd
github.com/longsleep/pkac 0.0.1
github.com/satori/go.uuid 46e1db27972f44c7722f23195ba6a8d2c2f3a0a3
github.com/strukturag/goacceptlanguageparser goacceptlanguageparser_v100
github.com/strukturag/httputils httputils_v012
github.com/strukturag/phoenix phoenix_v0130
github.com/strukturag/sloth v0.9.2
code.google.com/p/goconf/... a4db5c465ed1

8
Makefile.am

@ -42,7 +42,7 @@ DIST_BIN := $(DIST)/bin @@ -42,7 +42,7 @@ DIST_BIN := $(DIST)/bin
all: build
build: binary assets
build: get binary assets
gopath:
@echo GOPATH=$(GOPATH)
@ -59,7 +59,11 @@ endif @@ -59,7 +59,11 @@ endif
getupdate: vendorclean get
binary: get
gpm:
@if [ "$(GPM)" = "" ]; then echo "Command 'gpm' not found"; exit 1; fi
$(GPM) install
binary:
$(GO) build $(GOBUILDFLAGS) -o bin/$(EXENAME) -ldflags '$(LDFLAGS)' app/$(EXENAME)
binaryrace: GOBUILDFLAGS := $(GOBUILDFLAGS) -race

7
configure.ac

@ -57,6 +57,13 @@ AC_PROG_AWK @@ -57,6 +57,13 @@ AC_PROG_AWK
AC_PATH_PROGS([FIND],[find])
AC_PATH_PROGS([GPM],[gpm])
if test x"${GPM}" != x"" ; then
AC_MSG_CHECKING([for version of gpm])
GPM_VERSION=`$GPM version 2>&1 | $SED 's/^>> gpm v//'`
AC_MSG_RESULT([$GPM_VERSION])
fi
AC_PATH_PROG([JSHINT],jshint, [], [$PWD/node_modules/.bin$PATH_SEPARATOR$PATH])
if test x"${JSHINT}" != x"" ; then
AC_MSG_CHECKING([for version of jshint])

Loading…
Cancel
Save