Yoginth hace 7 años
padre
commit
6724058853
Se han modificado 3 ficheros con 6 adiciones y 4234 borrados
  1. 5 5
      Makefile
  2. 0 4229
      public/css/gitote.css
  3. 1 0
      public/css/gitote.min.css

+ 5 - 5
Makefile

@@ -2,7 +2,7 @@ LDFLAGS += -X "gitote/gitote/pkg/setting.BuildTime=$(shell date -u '+%Y-%m-%d %I
 LDFLAGS += -X "gitote/gitote/pkg/setting.BuildGitHash=$(shell git rev-parse HEAD)"
 DATA_FILES := $(shell find conf | sed 's/ /\\ /g')
 LESS_FILES := $(wildcard public/less/gitote.less public/less/_*.less)
-GENERATED  := pkg/bindata/bindata.go public/css/gitote.css
+GENERATED  := pkg/bindata/bindata.go public/css/gitote.min.css
 OS := $(shell uname)
 TAGS = ""
 BUILD_FLAGS = "-v"
@@ -11,7 +11,7 @@ GOVET = go tool vet -composites=false -methods=false -structtags=false
 
 .PHONY: build bindata clean
 
-.IGNORE: public/css/gitote.css
+.IGNORE: public/css/gitote.min.css
 
 all: build
 
@@ -41,10 +41,10 @@ bindata: pkg/bindata/bindata.go
 pkg/bindata/bindata.go: $(DATA_FILES)
 	./go-bindata -o=$@ -ignore="\\.DS_Store|README.md|TRANSLATORS|auth.d" -pkg=bindata conf/...
 
-less: public/css/gitote.css
+less: public/css/gitote.min.css
 
-public/css/gitote.css: $(LESS_FILES)
-	@type lessc >/dev/null 2>&1 && lessc $< >$@ || echo "lessc command not found, skipped."
+public/css/gitote.min.css: $(LESS_FILES)
+	@type lessc >/dev/null 2>&1 && lessc -x $< >$@ || echo "lessc command not found, skipped."
 
 clean:
 	go clean -i ./...

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 4229
public/css/gitote.css


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 1 - 0
public/css/gitote.min.css