mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 16:06:21 +00:00
assets más livianos
This commit is contained in:
parent
5e15653b2d
commit
10e9a16321
1 changed files with 1 additions and 3 deletions
4
Makefile
4
Makefile
|
@ -10,13 +10,11 @@ assets := package.json yarn.lock $(shell find app/assets/ app/javascript/ -type
|
||||||
alpine_version := 3.12
|
alpine_version := 3.12
|
||||||
|
|
||||||
public/assets-production/: $(assets)
|
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/ $@
|
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/
|
public/packs-production/: public/packs/
|
||||||
rsync -a --delete-after $< $@
|
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/
|
assets: public/assets-production/ public/packs-production/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue