Skip to content

Instantly share code, notes, and snippets.

@bjesuiter
Last active July 23, 2020 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bjesuiter/f761e78431d725a6d6ca8b0eb7ceb941 to your computer and use it in GitHub Desktop.
Save bjesuiter/f761e78431d725a6d6ca8b0eb7ceb941 to your computer and use it in GitHub Desktop.
Shell-based build scripting environment with aliases
#!/bin/bash
###
# This file can be sourced from a development shell (for example in VSCode)
# to make shortcut commands available for the project.
# This is kind of like your local build script system for each developer.
#
# This file should NOT be checked into version control!
# This file should contain shortcuts to other scripts with specialized settings, which are distinct for each developer.
#
# When calling shortcuts, more options can be added behind the shortcut, for example a --dry-run flag to customize each run
###
alias proj-build='./scripts/my-build-script.sh --build-option-1 value-1 first-positional-param second-positional-param'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment