1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-26 23:20:30 -04:00
ports/www/rubygem-cssbundling-rails/Makefile
Po-Chuan Hsieh 1f4cc8f0e3
www/rubygem-cssbundling-rails: Add rubygem-cssbundling-rails 1.0.0
Use Tailwind CSS, Bootstrap, Bulma, PostCSS, or Dart Sass to bundle and process
your CSS, then deliver it via the asset pipeline in Rails. This gem provides
installers to get you going with the bundler of your choice in a new Rails
application, and a convention to use app/assets/builds to hold your bundled
output as artifacts that are not checked into source control (the installer adds
this directory to .gitignore by default).

You develop using this approach by running the bundler in watch mode in a
terminal with yarn build:css --watch (and your Rails server in another, if
you're not using something like puma-dev). You can also use ./bin/dev, which
will start both the Rails server and the CSS build watcher (along with a JS
build watcher, if you're also using jsbundling-rails).

WWW: https://github.com/rails/cssbundling-rails
2022-01-12 02:43:48 +08:00

21 lines
444 B
Makefile

# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= cssbundling-rails
PORTVERSION= 1.0.0
CATEGORIES= www rubygems
MASTER_SITES= RG
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Bundle and process CSS with Tailwind, Bootstrap, PostCSS, Sass in Rails via Node.js
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-railties70>=6.0.0:www/rubygem-railties70
USES= gem
USE_RUBY= yes
NO_ARCH= yes
.include <bsd.port.mk>