-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't check in zstd compressed files
Compress gui assets on startup to reduce git bloat.
- Loading branch information
Showing
11 changed files
with
60 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,101 +1,73 @@ | ||
/* THIS FILE WAS GENERATED BY make frontend. DO NOT EDIT BY HAND! */ | ||
#include "http_import_dist.h" | ||
|
||
FD_IMPORT_BINARY( file0_zstd, "src/app/fdctl/dist/assets/firedancer_logo-CrgwxzPk.svg.zstd" ); | ||
FD_IMPORT_BINARY( file0, "src/app/fdctl/dist/assets/firedancer_logo-CrgwxzPk.svg" ); | ||
FD_IMPORT_BINARY( file1_zstd, "src/app/fdctl/dist/assets/firedancer-D_J0EzUc.svg.zstd" ); | ||
FD_IMPORT_BINARY( file1, "src/app/fdctl/dist/assets/firedancer-D_J0EzUc.svg" ); | ||
FD_IMPORT_BINARY( file2, "src/app/fdctl/dist/assets/inter-tight-latin-400-normal-BW_APOAv.woff" ); | ||
FD_IMPORT_BINARY( file3_zstd, "src/app/fdctl/dist/assets/privateYou-DxC3xn7b.svg.zstd" ); | ||
FD_IMPORT_BINARY( file3, "src/app/fdctl/dist/assets/privateYou-DxC3xn7b.svg" ); | ||
FD_IMPORT_BINARY( file4, "src/app/fdctl/dist/assets/inter-tight-latin-400-normal-CjmW70MP.woff2" ); | ||
FD_IMPORT_BINARY( file5_zstd, "src/app/fdctl/dist/assets/index-Dz6VwGqc.css.zstd" ); | ||
FD_IMPORT_BINARY( file0, "src/app/fdctl/dist/assets/firedancer-D_J0EzUc.svg" ); | ||
FD_IMPORT_BINARY( file1, "src/app/fdctl/dist/assets/firedancer_logo-CrgwxzPk.svg" ); | ||
FD_IMPORT_BINARY( file2, "src/app/fdctl/dist/assets/index-B5qDGMhj.css" ); | ||
FD_IMPORT_BINARY( file3, "src/app/fdctl/dist/assets/index-DhI9vJrW.js" ); | ||
FD_IMPORT_BINARY( file4, "src/app/fdctl/dist/assets/index-DL5ZAE5v.js" ); | ||
FD_IMPORT_BINARY( file5, "src/app/fdctl/dist/assets/index-Dz6VwGqc.css" ); | ||
FD_IMPORT_BINARY( file6_zstd, "src/app/fdctl/dist/assets/index-DL5ZAE5v.js.zstd" ); | ||
FD_IMPORT_BINARY( file6, "src/app/fdctl/dist/assets/index-DL5ZAE5v.js" ); | ||
FD_IMPORT_BINARY( file7_zstd, "src/app/fdctl/dist/assets/index-B5qDGMhj.css.zstd" ); | ||
FD_IMPORT_BINARY( file7, "src/app/fdctl/dist/assets/index-B5qDGMhj.css" ); | ||
FD_IMPORT_BINARY( file8_zstd, "src/app/fdctl/dist/assets/index-DhI9vJrW.js.zstd" ); | ||
FD_IMPORT_BINARY( file8, "src/app/fdctl/dist/assets/index-DhI9vJrW.js" ); | ||
FD_IMPORT_BINARY( file6, "src/app/fdctl/dist/assets/inter-tight-latin-400-normal-BW_APOAv.woff" ); | ||
FD_IMPORT_BINARY( file7, "src/app/fdctl/dist/assets/inter-tight-latin-400-normal-CjmW70MP.woff2" ); | ||
FD_IMPORT_BINARY( file8, "src/app/fdctl/dist/assets/privateYou-DxC3xn7b.svg" ); | ||
FD_IMPORT_BINARY( file9, "src/app/fdctl/dist/index.html" ); | ||
FD_IMPORT_BINARY( file10, "src/app/fdctl/dist/LICENSE_DEPENDENCIES" ); | ||
|
||
fd_http_static_file_t STATIC_FILES[] = { | ||
{ | ||
.name = "/assets/firedancer_logo-CrgwxzPk.svg", | ||
.name = "/assets/firedancer-D_J0EzUc.svg", | ||
.data = file0, | ||
.data_len = &file0_sz, | ||
.zstd_data = file0_zstd, | ||
.zstd_data_len = &file0_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/firedancer-D_J0EzUc.svg", | ||
.name = "/assets/firedancer_logo-CrgwxzPk.svg", | ||
.data = file1, | ||
.data_len = &file1_sz, | ||
.zstd_data = file1_zstd, | ||
.zstd_data_len = &file1_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/inter-tight-latin-400-normal-BW_APOAv.woff", | ||
.name = "/assets/index-B5qDGMhj.css", | ||
.data = file2, | ||
.data_len = &file2_sz, | ||
.zstd_data = NULL, | ||
.zstd_data_len = 0UL | ||
}, | ||
{ | ||
.name = "/assets/privateYou-DxC3xn7b.svg", | ||
.name = "/assets/index-DhI9vJrW.js", | ||
.data = file3, | ||
.data_len = &file3_sz, | ||
.zstd_data = file3_zstd, | ||
.zstd_data_len = &file3_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/inter-tight-latin-400-normal-CjmW70MP.woff2", | ||
.name = "/assets/index-DL5ZAE5v.js", | ||
.data = file4, | ||
.data_len = &file4_sz, | ||
.zstd_data = NULL, | ||
.zstd_data_len = 0UL | ||
}, | ||
{ | ||
.name = "/assets/index-Dz6VwGqc.css", | ||
.data = file5, | ||
.data_len = &file5_sz, | ||
.zstd_data = file5_zstd, | ||
.zstd_data_len = &file5_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/index-DL5ZAE5v.js", | ||
.name = "/assets/inter-tight-latin-400-normal-BW_APOAv.woff", | ||
.data = file6, | ||
.data_len = &file6_sz, | ||
.zstd_data = file6_zstd, | ||
.zstd_data_len = &file6_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/index-B5qDGMhj.css", | ||
.name = "/assets/inter-tight-latin-400-normal-CjmW70MP.woff2", | ||
.data = file7, | ||
.data_len = &file7_sz, | ||
.zstd_data = file7_zstd, | ||
.zstd_data_len = &file7_zstd_sz | ||
}, | ||
{ | ||
.name = "/assets/index-DhI9vJrW.js", | ||
.name = "/assets/privateYou-DxC3xn7b.svg", | ||
.data = file8, | ||
.data_len = &file8_sz, | ||
.zstd_data = file8_zstd, | ||
.zstd_data_len = &file8_zstd_sz | ||
}, | ||
{ | ||
.name = "/index.html", | ||
.data = file9, | ||
.data_len = &file9_sz, | ||
.zstd_data = NULL, | ||
.zstd_data_len = 0UL | ||
}, | ||
{ | ||
.name = "/LICENSE_DEPENDENCIES", | ||
.data = file10, | ||
.data_len = &file10_sz, | ||
.zstd_data = NULL, | ||
.zstd_data_len = 0UL | ||
}, | ||
{0} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,18 @@ | ||
/* THIS FILE WAS GENERATED BY make frontend. DO NOT EDIT BY HAND! */ | ||
#ifndef HEADER_fd_src_app_fdctl_run_tiles_generated_http_import_dist_h | ||
#define HEADER_fd_src_app_fdctl_run_tiles_generated_http_import_dist_h | ||
|
||
#include "../../../../../util/fd_util.h" | ||
|
||
|
||
struct fd_http_static_file { | ||
char const * name; | ||
char const * name; | ||
uchar const * data; | ||
ulong const * data_len; | ||
uchar const * zstd_data; | ||
ulong const * zstd_data_len; | ||
ulong zstd_data_len; | ||
}; | ||
|
||
typedef struct fd_http_static_file fd_http_static_file_t; | ||
|
||
extern fd_http_static_file_t STATIC_FILES[11]; | ||
extern fd_http_static_file_t STATIC_FILES[]; /* null terminated */ | ||
|
||
#endif |