File: rules

package info (click to toggle)
mailcatcher 0.10.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 516 kB
  • sloc: ruby: 971; javascript: 284; sh: 14; makefile: 10
file content (14 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/make -f

export GEM2DEB_TEST_RUNNER = --check-dependencies
export DH_RUBY = --gem-install

%:
	dh $@ --buildsystem=ruby --with ruby

execute_before_dh_auto_build:
	coffee --compile \
		--output assets/javascripts/mailcatcher.js \
		assets/javascripts/mailcatcher.js.coffee
	rake assets --verbose --trace
	cp -p -t public/assets/ vendor/assets/javascripts/*