File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
tasks :
13
13
- init : ./aero.py --test --no-run
14
- # ideally, it wouldn't build a second time
15
- command : ./aero.py --test
14
+ command : ./aero.py --only-run
Original file line number Diff line number Diff line change @@ -161,6 +161,11 @@ def parse_args():
161
161
default = False ,
162
162
action = 'store_true' ,
163
163
help = 'doesn\' t run the built image in emulator when applicable' )
164
+
165
+ parser .add_argument ('--only-run' ,
166
+ default = False ,
167
+ action = 'store_true' ,
168
+ help = 'runs aero without rebuilding. ignores any build-related flags' )
164
169
165
170
parser .add_argument ('--bios' ,
166
171
type = str ,
@@ -638,7 +643,10 @@ def main():
638
643
639
644
download_bundled ()
640
645
641
- if args .clean :
646
+ if args .only_run :
647
+ iso_path = os .path .join (BUILD_DIR , 'aero.iso' )
648
+ run_in_emulator (args , iso_path )
649
+ elif args .clean :
642
650
src_target = os .path .join ('src' , 'target' , args .target )
643
651
userland_target = os .path .join ('userland' , 'target' )
644
652
You can’t perform that action at this time.
0 commit comments