You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
276 B

5 years ago
  1. BINARY = weed
  2. SOURCE_DIR = .
  3. all: debug_mount
  4. .PHONY : clean debug_mount
  5. clean:
  6. go clean $(SOURCE_DIR)
  7. rm -f $(BINARY)
  8. debug_mount:
  9. go build -gcflags="all=-N -l"
  10. dlv --listen=:2345 --headless=true --api-version=2 --accept-multiclient exec weed -- mount -dir=~/tmp/mm