File: rules

package info (click to toggle)
ruby-stimulus-rails 1.3.4%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 240 kB
  • sloc: javascript: 2,665; ruby: 112; makefile: 6
file content (13 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

%:
	dh $@ --buildsystem=ruby

execute_before_dh_auto_build:
	# Minify stimulus.js using UglifyJS with the compression (-c), mangle
	# (-m), and source-map options.  The original minified files were
	# removed by Files-Excluded.
	uglifyjs app/assets/javascripts/stimulus.js -o app/assets/javascripts/stimulus.min.js -c -m --source-map