浏览代码

Updated docs, deleted Makefiles.

Richard Crowley 13 年之前
父节点
当前提交
cf3de86166
共有 7 个文件被更改,包括 2 次插入57 次删除
  1. 1 1
      LICENSE
  2. 0 31
      Makefile
  3. 1 1
      README.md
  4. 0 12
      cmd/metrics-bench/Makefile
  5. 0 0
      cmd/metrics-bench/metrics-bench.go
  6. 0 12
      cmd/metrics-example/Makefile
  7. 0 0
      cmd/metrics-example/metrics-example.go

+ 1 - 1
LICENSE

@@ -1,4 +1,4 @@
-Copyright 2011 Richard Crowley. All rights reserved.
+Copyright 2012 Richard Crowley. All rights reserved.
 
 
 Redistribution and use in source and binary forms, with or without
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are
 modification, are permitted provided that the following conditions are

+ 0 - 31
Makefile

@@ -1,31 +0,0 @@
-include $(GOROOT)/src/Make.inc
-
-TARG=github.com/rcrowley/go-metrics
-GOFILES=\
-	counter.go\
-	ewma.go\
-	gauge.go\
-	healthcheck.go\
-	histogram.go\
-	log.go\
-	meter.go\
-	metrics.go\
-	registry.go\
-	runtime.go\
-	sample.go\
-	syslog.go\
-	timer.go\
-
-include $(GOROOT)/src/Make.pkg
-
-all: uninstall clean install
-	make -C cmd/metrics-bench uninstall clean install
-	make -C cmd/metrics-example uninstall clean install
-
-uninstall:
-	rm -f $(GOROOT)/pkg/$(GOOS)_$(GOARCH)/$(TARG).a
-	rm -rf $(GOROOT)/src/pkg/$(TARG)
-	make -C cmd/metrics-bench uninstall
-	make -C cmd/metrics-example uninstall
-
-.PHONY: all uninstall

+ 1 - 1
README.md

@@ -53,5 +53,5 @@ Installation
 ------------
 ------------
 
 
 ```sh
 ```sh
-goinstall github.com/rcrowley/go-metrics
+go install github.com/rcrowley/go-metrics
 ```
 ```

+ 0 - 12
cmd/metrics-bench/Makefile

@@ -1,12 +0,0 @@
-include $(GOROOT)/src/Make.inc
-
-TARG=metrics-bench
-GOFILES=\
-	main.go\
-
-include $(GOROOT)/src/Make.cmd
-
-uninstall:
-	rm -f $(GOROOT)/bin/$(TARG)
-
-.PHONY: uninstall

+ 0 - 0
cmd/metrics-bench/main.go → cmd/metrics-bench/metrics-bench.go


+ 0 - 12
cmd/metrics-example/Makefile

@@ -1,12 +0,0 @@
-include $(GOROOT)/src/Make.inc
-
-TARG=metrics-example
-GOFILES=\
-	main.go\
-
-include $(GOROOT)/src/Make.cmd
-
-uninstall:
-	rm -f $(GOROOT)/bin/$(TARG)
-
-.PHONY: uninstall

+ 0 - 0
cmd/metrics-example/main.go → cmd/metrics-example/metrics-example.go