File: Makefile

package info (click to toggle)
ruby-timecop 0.9.10-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 280 kB
  • sloc: ruby: 1,950; makefile: 17
file content (17 lines) | stat: -rw-r--r-- 307 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
IMAGE_NAME=timecop
VOLUMES=-v $(PWD):/tmp/src

image:
	docker build -t $(IMAGE_NAME) .

clean:
	rm Gemfile.lock

test: image
	docker run $(IMAGE_NAME) rake

console: image
	docker run -it --rm -w /tmp/src $(VOLUMES) $(IMAGE_NAME)

shell: image
	docker run -it --rm -w /tmp/src $(VOLUMES) $(IMAGE_NAME) bash