๐Ÿ“ฆโž”๐Ÿฆ‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

build: modify testing to fail on any build with errors (not just publishing)

Ducky 261e956d 16d5f31a

+5 -4
+5 -4
src/commands/build.sh
··· 144 144 145 145 test_total_count=$(( test_error_count + test_info_count + test_style_count + test_warning_count )) 146 146 147 + if [[ $test_error_count -gt 0 ]]; then 148 + atfile.die "โŒ Build failed ($test_error_count errors detected)" 149 + rm -f "$dist_path" 150 + fi 151 + 147 152 echo -e "---\nโœ… Built: $_version 148 153 โ†ณ Path: ./$dist_path_relative 149 154 โ†ณ Check: $checksum ··· 161 166 162 167 # shellcheck disable=SC2154 163 168 if [[ $_devel_enable_publish == 1 ]]; then 164 - if [[ $test_error_count -gt 0 ]]; then 165 - atfile.die "Unable to publish ($test_error_count errors detected)" 166 - fi 167 - 168 169 atfile.say "---\nโœจ Updating..." 169 170 atfile.auth "$_devel_dist_username" "$_devel_dist_password" 170 171 [[ $_version == *"+"* ]] && atfile.die "Cannot publish a Git version ($_version)"