From 10e9a16321ea80043ba5bedef18387e4da773da0 Mon Sep 17 00:00:00 2001 From: f Date: Thu, 19 Nov 2020 21:24:49 -0300 Subject: [PATCH] =?UTF-8?q?assets=20m=C3=A1s=20livianos?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 5d2d1a33..39511ae9 100644 --- a/Makefile +++ b/Makefile @@ -10,13 +10,11 @@ assets := package.json yarn.lock $(shell find app/assets/ app/javascript/ -type alpine_version := 3.12 public/assets-production/: $(assets) - RAILS_ENV=production bundle exec rake assets:precompile webpacker:compile assets:clean + RAILS_ENV=production bundle exec rake assets:precompile assets:clean rsync --delete-after -a public/assets/ $@ - find $@ -type f -name "*.gz" | sed -re "s/\.gz$$//" | xargs -r brotli -k -9 public/packs-production/: public/packs/ rsync -a --delete-after $< $@ - find $@ -type f -name "*.gz" | sed -re "s/\.gz$$//" | xargs -r brotli -k -9 assets: public/assets-production/ public/packs-production/