forked from elliotnunn/mac-rom
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEasyBuild
More file actions
20 lines (15 loc) · 706 Bytes
/
Copy pathEasyBuild
File metadata and controls
20 lines (15 loc) · 706 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Set MAKE_FILE :Make:RISC.make
Set MAKE_OUT :BuildResults:RISC:Text:MakeFile
Set Parent "`Files -f "{0}" | StreamEdit -d -e '/((Å:)*)¨1([Â:]*)/ Print ¨1'`"
SetDirectory "{Parent}"
Set AllMiscRsrcFiles "`WhereIs -s :Misc .rsrc` `WhereIs -s :Misc GoNativeResources`" # quoted for us!
For ToRez in `Files -n -x r {AllMiscRsrcFiles} | StreamEdit -d -e "/(Å)¨1 0b°/ Print ¨1"`
Echo EasyBuild: Rezzing (once-off) "{ToRez}"
Rez -t rsrc -c RSED -o "{ToRez}" "{ToRez}"
End
Make -w -d Sources=: -f "{MAKE_FILE}" RomMondo > "{MAKE_OUT}"
"{MAKE_OUT}"
# So that RomMondo is definitely the newest thing in the tree!
SetDirectory :BuildResults:RISC:Image:
Catenate RomMondo > RomMondoX
Rename -y RomMondoX RomMondo