File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 6262 crystal spec
6363
6464verify :
65- crystal build src/invidious.cr --no-codegen --progress --stats --error-trace
65+ crystal build src/invidious.cr -Ddont_fetch_videojs \
66+ --no-codegen --progress --stats --error-trace
6667
6768
6869# -----------------------
Original file line number Diff line number Diff line change @@ -114,16 +114,18 @@ LOGGER = Invidious::LogHandler.new(OUTPUT, CONFIG.log_level)
114114# Check table integrity
115115Invidious ::Database .check_integrity(CONFIG )
116116
117- # Resolve player dependencies. This is done at compile time.
118- #
119- # Running the script by itself would show some colorful feedback while this doesn't.
120- # Perhaps we should just move the script to runtime in order to get that feedback?
121-
122- {% puts " \n Checking player dependencies...\n " % }
123- {% if flag?(:minified_player_dependencies ) % }
124- {% puts run(" ../scripts/fetch-player-dependencies.cr" , " --minified" ).stringify % }
125- {% else % }
126- {% puts run(" ../scripts/fetch-player-dependencies.cr" ).stringify % }
117+ {% unless flag?(:dont_fetch_videojs ) % }
118+ # Resolve player dependencies. This is done at compile time.
119+ #
120+ # Running the script by itself would show some colorful feedback while this doesn't.
121+ # Perhaps we should just move the script to runtime in order to get that feedback?
122+
123+ {% puts " \n Checking player dependencies...\n " % }
124+ {% if flag?(:minified_player_dependencies ) % }
125+ {% puts run(" ../scripts/fetch-player-dependencies.cr" , " --minified" ).stringify % }
126+ {% else % }
127+ {% puts run(" ../scripts/fetch-player-dependencies.cr" ).stringify % }
128+ {% end % }
127129{% end % }
128130
129131# Start jobs
You can’t perform that action at this time.
0 commit comments