home *** CD-ROM | disk | FTP | other *** search
- # SetProject
- #
- # Synopsis:
- # SetProject <target>
-
-
- # Make sure we have what to build
- If {#} < 1
- # We can change this later. Maybe add a dialog box to pick one.
- Echo "{0}: You must specify a target project." ≥≥ Dev:StdErr
- Exit 1
- End
-
- Set TARG "{Boot}Development:Menu:{1}:"
-
- # Make sure the project directory exists.
- If "`Exists -d "{TARG}"`" == ""
- Echo "{0}: Project '{TARG}' does not exist." ≥≥ Dev:StdErr
- Exit 1
- End
-
- Directory "{TARG}"
-
- Exit
- # The end.
-