mirror of
https://github.com/elliotnunn/mac-rom.git
synced 2024-12-10 05:49:49 +00:00
Use placeholder files to create BuildResults/
Running the Make/CreateBuildResultsFolders script after a clone, or after clobbering BuildResults/, was a pain. Now a clean build can be guaranteed with: rm -rf BuildResults git checkout BuildResults
This commit is contained in:
parent
723f584a4f
commit
bbb73bc9b7
0
BuildResults/LC930/Image/ FolderMustExist
Normal file
0
BuildResults/LC930/Image/ FolderMustExist
Normal file
0
BuildResults/LC930/Lib/ FolderMustExist
Normal file
0
BuildResults/LC930/Lib/ FolderMustExist
Normal file
0
BuildResults/LC930/Obj/ FolderMustExist
Normal file
0
BuildResults/LC930/Obj/ FolderMustExist
Normal file
0
BuildResults/LC930/Rsrc/ FolderMustExist
Normal file
0
BuildResults/LC930/Rsrc/ FolderMustExist
Normal file
0
BuildResults/LC930/Text/ FolderMustExist
Normal file
0
BuildResults/LC930/Text/ FolderMustExist
Normal file
0
BuildResults/RISC/Image/ FolderMustExist
Normal file
0
BuildResults/RISC/Image/ FolderMustExist
Normal file
0
BuildResults/RISC/Lib/ FolderMustExist
Normal file
0
BuildResults/RISC/Lib/ FolderMustExist
Normal file
0
BuildResults/RISC/Obj/ FolderMustExist
Normal file
0
BuildResults/RISC/Obj/ FolderMustExist
Normal file
0
BuildResults/RISC/Rsrc/ FolderMustExist
Normal file
0
BuildResults/RISC/Rsrc/ FolderMustExist
Normal file
0
BuildResults/RISC/Text/ FolderMustExist
Normal file
0
BuildResults/RISC/Text/ FolderMustExist
Normal file
0
BuildResults/ROM/Image/ FolderMustExist
Normal file
0
BuildResults/ROM/Image/ FolderMustExist
Normal file
0
BuildResults/ROM/Lib/ FolderMustExist
Normal file
0
BuildResults/ROM/Lib/ FolderMustExist
Normal file
0
BuildResults/ROM/Obj/ FolderMustExist
Normal file
0
BuildResults/ROM/Obj/ FolderMustExist
Normal file
0
BuildResults/ROM/Rsrc/ FolderMustExist
Normal file
0
BuildResults/ROM/Rsrc/ FolderMustExist
Normal file
0
BuildResults/ROM/Text/ FolderMustExist
Normal file
0
BuildResults/ROM/Text/ FolderMustExist
Normal file
0
BuildResults/dbLite/Image/ FolderMustExist
Normal file
0
BuildResults/dbLite/Image/ FolderMustExist
Normal file
0
BuildResults/dbLite/Lib/ FolderMustExist
Normal file
0
BuildResults/dbLite/Lib/ FolderMustExist
Normal file
0
BuildResults/dbLite/Obj/ FolderMustExist
Normal file
0
BuildResults/dbLite/Obj/ FolderMustExist
Normal file
0
BuildResults/dbLite/Rsrc/ FolderMustExist
Normal file
0
BuildResults/dbLite/Rsrc/ FolderMustExist
Normal file
0
BuildResults/dbLite/Text/ FolderMustExist
Normal file
0
BuildResults/dbLite/Text/ FolderMustExist
Normal file
@ -1,36 +0,0 @@
|
||||
# Takes no arguments -- expects to be inside the Make directory,
|
||||
# or run in place (select all, then cmd-return)
|
||||
|
||||
If "{0}" == ""
|
||||
Set 0 "{Active}"
|
||||
End
|
||||
|
||||
Set BuildResults "`Files -f "{0}" | StreamEdit -e '1 Replace /[Â:]*:[Â:]*°/ -n'`"
|
||||
|
||||
If {#} == 1
|
||||
Set BuildResults "{1}"
|
||||
Else If {#} == 0
|
||||
Set MyPath "`Files -f "{0}"`"
|
||||
Set BuildResults "`Echo "{MyPath}" | StreamEdit -e '1 Replace /[Â:]*:[Â:]*°/ -n'`"
|
||||
Else
|
||||
Echo "# USAGE: {0} [PATH]"
|
||||
Exit 1
|
||||
End
|
||||
|
||||
Set BuildResults "{BuildResults}BuildResults:"
|
||||
|
||||
If "`Exists "{BuildResults}"`" == ""
|
||||
NewFolder "{BuildResults}"
|
||||
End
|
||||
|
||||
For L1 in dbLite: LC930: RISC: ROM:
|
||||
If "`Exists "{BuildResults}{L1}"`" == ""
|
||||
NewFolder "{BuildResults}{L1}"
|
||||
End
|
||||
|
||||
For L2 in Image: Lib: Obj: Rsrc: Text:
|
||||
If "`Exists "{BuildResults}{L1}{L2}"`" == ""
|
||||
NewFolder "{BuildResults}{L1}{L2}"
|
||||
End
|
||||
End
|
||||
End
|
Loading…
Reference in New Issue
Block a user