Not good at creating aliases but I have several commands to run and I want to do them all at once.
$ activator
$ clean
$ compile
$ run 9002
I would like to combine all of these commands into a single command like:
$ activate 9002
Normally I think I would know how to do this but the issue here is that it will need to wait until the previous command finishes and the prompt returns. Also, if I do an $ activate 9000 then the last command would run $ run 9000
Is there a way to do this in my alias?