From 027d8968d57463924146fd57c6057d0d00e0f492 Mon Sep 17 00:00:00 2001 From: Fabian Reinartz Date: Thu, 28 May 2015 22:03:34 +0200 Subject: [PATCH] Move embed-static.sh into scripts folder --- Dockerfile | 2 +- {utility => scripts}/embed-static.sh | 0 web/Makefile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename {utility => scripts}/embed-static.sh (100%) diff --git a/Dockerfile b/Dockerfile index e9d4d5a72..231d0c5ea 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,7 +9,7 @@ RUN apk add --update -t build-deps go git mercurial vim \ && go get github.com/tools/godep \ && cd /go/src/github.com/prometheus/prometheus \ && $GOPATH/bin/godep restore && go get -d \ - && ./utility/embed-static.sh web/static web/templates | gofmt > web/blob/files.go \ + && ./scripts/embed-static.sh web/static web/templates | gofmt > web/blob/files.go \ && go build -ldflags " \ -X main.buildVersion $(cat VERSION) \ -X main.buildRevision $(git rev-parse --short HEAD) \ diff --git a/utility/embed-static.sh b/scripts/embed-static.sh similarity index 100% rename from utility/embed-static.sh rename to scripts/embed-static.sh diff --git a/web/Makefile b/web/Makefile index d7755b301..beffbd5e6 100644 --- a/web/Makefile +++ b/web/Makefile @@ -20,7 +20,7 @@ SUFFIXES: blob/files.go: $(shell find templates/ static/ -type f) # Note that embed-static.sh excludes map files and the # non-minified bootstrap files. - ../utility/embed-static.sh static templates | $(GOFMT) > $@ + ../scripts/embed-static.sh static templates | $(GOFMT) > $@ clean: -rm -f blob/files.go