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
This commit is contained in:
Po-Chuan Hsieh 2022-01-12 00:56:17 +08:00
parent a2157a737e
commit 1f4cc8f0e3
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 39 additions and 0 deletions

View File

@ -1874,6 +1874,7 @@
SUBDIR += rubygem-chromedriver-helper SUBDIR += rubygem-chromedriver-helper
SUBDIR += rubygem-cookiejar SUBDIR += rubygem-cookiejar
SUBDIR += rubygem-crass SUBDIR += rubygem-crass
SUBDIR += rubygem-cssbundling-rails
SUBDIR += rubygem-cuba SUBDIR += rubygem-cuba
SUBDIR += rubygem-d3_rails SUBDIR += rubygem-d3_rails
SUBDIR += rubygem-d3_rails-rails4 SUBDIR += rubygem-d3_rails-rails4

View File

@ -0,0 +1,21 @@
# 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>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1641045740
SHA256 (rubygem/cssbundling-rails-1.0.0.gem) = 5dcadc78abeb38fa24a47b3a925cf9a9208120668436193880e50a11f2cc6a71
SIZE (rubygem/cssbundling-rails-1.0.0.gem) = 9728

View File

@ -0,0 +1,14 @@
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