@@ -120,35 +120,22 @@ private function copyFiles(string $target): void
120120 {
121121 $ dir = $ this ->getDirectory ($ target . '.css ' );
122122
123- \file_put_contents (
124- $ dir . 'bootstrap.min.css ' ,
125- \str_replace (
126- 'url(http://github.com/fonts/%3C/span%3E'%3C/span%3E,%3C/div%3E%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%20class=%22diff-line-row%22%3E%3Ctd%20data-grid-cell-id=%22diff-93e92410541da7945f4aced9a359c8d7d7fa472c2480caf7aa7af4dcefcd157f-127-122-0%22%20data-selected=%22false%22%20role=%22gridcell%22%20style=%22background-color:var(--diffBlob-deletionNum-bgColor,%20var(--diffBlob-deletion-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">127
- 'url(http://github.com/.fonts/%3C/span%3E'%3C/span%3E,%3C/div%3E%3C/code%3E%3C/td%3E%3C/tr%3E%3Ctr%20class=%22diff-line-row%22%3E%3Ctd%20data-grid-cell-id=%22diff-93e92410541da7945f4aced9a359c8d7d7fa472c2480caf7aa7af4dcefcd157f-128-122-0%22%20data-selected=%22false%22%20role=%22gridcell%22%20style=%22background-color:var(--diffBlob-deletionNum-bgColor,%20var(--diffBlob-deletion-bgColor-num));text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative left-side">128
- \file_get_contents ($ this ->templatePath . 'css/bootstrap.min.css ' )
129- )
130-
131- );
132-
123+ \copy ($ this ->templatePath . 'css/bootstrap.min.css ' , $ dir . 'bootstrap.min.css ' );
133124 \copy ($ this ->templatePath . 'css/nv.d3.min.css ' , $ dir . 'nv.d3.min.css ' );
134125 \copy ($ this ->templatePath . 'css/style.css ' , $ dir . 'style.css ' );
135126 \copy ($ this ->templatePath . 'css/custom.css ' , $ dir . 'custom.css ' );
127+ \copy ($ this ->templatePath . 'css/octicons.css ' , $ dir . 'octicons.css ' );
136128
137- $ dir = $ this ->getDirectory ($ target . '.fonts ' );
138- \copy ($ this ->templatePath . 'fonts/glyphicons-halflings-regular.eot ' , $ dir . 'glyphicons-halflings-regular.eot ' );
139- \copy ($ this ->templatePath . 'fonts/glyphicons-halflings-regular.svg ' , $ dir . 'glyphicons-halflings-regular.svg ' );
140- \copy ($ this ->templatePath . 'fonts/glyphicons-halflings-regular.ttf ' , $ dir . 'glyphicons-halflings-regular.ttf ' );
141- \copy ($ this ->templatePath . 'fonts/glyphicons-halflings-regular.woff ' , $ dir . 'glyphicons-halflings-regular.woff ' );
142- \copy ($ this ->templatePath . 'fonts/glyphicons-halflings-regular.woff2 ' , $ dir . 'glyphicons-halflings-regular.woff2 ' );
129+ $ dir = $ this ->getDirectory ($ target . '.icons ' );
130+ \copy ($ this ->templatePath . 'icons/file-code.svg ' , $ dir . 'file-code.svg ' );
131+ \copy ($ this ->templatePath . 'icons/file-directory.svg ' , $ dir . 'file-directory.svg ' );
143132
144133 $ dir = $ this ->getDirectory ($ target . '.js ' );
145134 \copy ($ this ->templatePath . 'js/bootstrap.min.js ' , $ dir . 'bootstrap.min.js ' );
135+ \copy ($ this ->templatePath . 'js/popper.min.js ' , $ dir . 'popper.min.js ' );
146136 \copy ($ this ->templatePath . 'js/d3.min.js ' , $ dir . 'd3.min.js ' );
147- \copy ($ this ->templatePath . 'js/holder.min.js ' , $ dir . 'holder.min.js ' );
148- \copy ($ this ->templatePath . 'js/html5shiv.min.js ' , $ dir . 'html5shiv.min.js ' );
149137 \copy ($ this ->templatePath . 'js/jquery.min.js ' , $ dir . 'jquery.min.js ' );
150138 \copy ($ this ->templatePath . 'js/nv.d3.min.js ' , $ dir . 'nv.d3.min.js ' );
151- \copy ($ this ->templatePath . 'js/respond.min.js ' , $ dir . 'respond.min.js ' );
152139 \copy ($ this ->templatePath . 'js/file.js ' , $ dir . 'file.js ' );
153140 }
154141
0 commit comments