• pjotr .pjotr ., almost 6 years ago

    Nice. I love using alfred for webdev.

    I have a workflow for building static sites. It's something like this:

    • Keyword make website {query}
    • Run Script:

    Here's my script:

    cd && cd Sites && mkdir {query} && cd {query} && git clone <my personal middleman boilerplate> && bundle && rake sass && rake preview && edit .

    Basically this is saying create a new directory in directory sites with query name. Then clone my boilerplate, install gems, run the sass rake command (I have a sass alias to for watching and compressing my sass) and then run the middleman preview server which is executed with rake preview. After then open the newly created site with sublime text (edit alias).

    • Alert (a simple notification telling me everything is good to go)
    9 points