Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2022 18:52:32 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1f4cc8f0e334 - main - www/rubygem-cssbundling-rails: Add rubygem-cssbundling-rails 1.0.0
Message-ID:  <202201111852.20BIqWaO060262@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1f4cc8f0e33438ceaa52fb088a5424a9695bd255

commit 1f4cc8f0e33438ceaa52fb088a5424a9695bd255
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:56:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:48 +0000

    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
---
 www/Makefile                            |  1 +
 www/rubygem-cssbundling-rails/Makefile  | 21 +++++++++++++++++++++
 www/rubygem-cssbundling-rails/distinfo  |  3 +++
 www/rubygem-cssbundling-rails/pkg-descr | 14 ++++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index d75f7024f834..e9afa9734687 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1874,6 +1874,7 @@
     SUBDIR += rubygem-chromedriver-helper
     SUBDIR += rubygem-cookiejar
     SUBDIR += rubygem-crass
+    SUBDIR += rubygem-cssbundling-rails
     SUBDIR += rubygem-cuba
     SUBDIR += rubygem-d3_rails
     SUBDIR += rubygem-d3_rails-rails4
diff --git a/www/rubygem-cssbundling-rails/Makefile b/www/rubygem-cssbundling-rails/Makefile
new file mode 100644
index 000000000000..510cabcd9692
--- /dev/null
+++ b/www/rubygem-cssbundling-rails/Makefile
@@ -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>
diff --git a/www/rubygem-cssbundling-rails/distinfo b/www/rubygem-cssbundling-rails/distinfo
new file mode 100644
index 000000000000..d9dc61baa699
--- /dev/null
+++ b/www/rubygem-cssbundling-rails/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045740
+SHA256 (rubygem/cssbundling-rails-1.0.0.gem) = 5dcadc78abeb38fa24a47b3a925cf9a9208120668436193880e50a11f2cc6a71
+SIZE (rubygem/cssbundling-rails-1.0.0.gem) = 9728
diff --git a/www/rubygem-cssbundling-rails/pkg-descr b/www/rubygem-cssbundling-rails/pkg-descr
new file mode 100644
index 000000000000..296d77f415a4
--- /dev/null
+++ b/www/rubygem-cssbundling-rails/pkg-descr
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201111852.20BIqWaO060262>