Reduce the external files required for gem installation

This commit is contained in:
Cotes Chung 2021-04-19 15:01:07 +08:00
parent 72e8ffafa6
commit a9acaa669d
6 changed files with 5 additions and 2 deletions

View file

@ -1,5 +1,6 @@
--- ---
layout: compress layout: compress
permalink: /feed.xml
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html # Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html
--- ---

View file

@ -1,5 +1,6 @@
--- ---
layout: compress layout: compress
permalink: '/app.js'
--- ---
/* Registering Service Worker */ /* Registering Service Worker */

View file

@ -1,5 +1,6 @@
--- ---
layout: compress layout: compress
permalink: '/sw.js'
# PWA service worker # PWA service worker
--- ---

View file

@ -1,5 +1,5 @@
--- ---
permalink: robots.txt permalink: /robots.txt
# The robots rules # The robots rules
--- ---

View file

@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
spec.license = "MIT" spec.license = "MIT"
spec.files = `git ls-files -z`.split("\x0").select { |f| spec.files = `git ls-files -z`.split("\x0").select { |f|
f.match(%r!^((assets\/(css|img|js\/[a-z])|_(includes|layouts|sass|config|data|tabs|plugins))|README|LICENSE|index|feed|app|sw|404|robots)!i) f.match(%r!^((assets\/(css|img|js\/[a-z])|_(includes|layouts|sass|config|data|tabs|plugins))|README|LICENSE|index)!i)
} }
spec.metadata = { spec.metadata = {