1
1
mirror of https://github.com/github/semantic.git synced 2024-11-22 23:29:37 +03:00

Use env bash because /bin/bash does not exists in nixos

This commit is contained in:
Jinxuan Zhu 2020-03-29 21:49:33 -05:00
parent 7b588d89c5
commit df8e63f1fb
10 changed files with 10 additions and 10 deletions

View File

@ -1,3 +1,3 @@
#!/bin/bash #!/usr/bin/env bash
cabal v2-update cabal v2-update

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Usage: script/build-and-upload PROJECT_NAME # Usage: script/build-and-upload PROJECT_NAME
# where PROJECT_NAME is one of the packages present in this repo: # where PROJECT_NAME is one of the packages present in this repo:

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#/ Usage: script/clone-example-repos #/ Usage: script/clone-example-repos
#/ #/
#/ Clone some example repositories for smoke testing parsing, assignment, and precise ASTs. #/ Clone some example repositories for smoke testing parsing, assignment, and precise ASTs.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
store_dir="$HOME/.cabal/store/ghc-$(ghc --numeric-version)" store_dir="$HOME/.cabal/store/ghc-$(ghc --numeric-version)"

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#/ Usage: script/generate-example fileA fileB #/ Usage: script/generate-example fileA fileB
#/ script/generate-example directory #/ script/generate-example directory
#/ #/

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Computes the flags for ghcide to pass to ghci. You probably wont be running this yourself, but rather ghcide will via configuration in hie.yaml. # Computes the flags for ghcide to pass to ghci. You probably wont be running this yourself, but rather ghcide will via configuration in hie.yaml.
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Computes the paths to files causing changes to the ghci flags. You probably wont be running this yourself, but rather ghcide will via configuration in hie.yaml. # Computes the paths to files causing changes to the ghci flags. You probably wont be running this yourself, but rather ghcide will via configuration in hie.yaml.
set -e set -e

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Usage: script/profile FILE_A FILE_B # Usage: script/profile FILE_A FILE_B
# Builds and runs semantic on the given files with profiling enabled. # Builds and runs semantic on the given files with profiling enabled.

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
#/ Usage: script/publish #/ Usage: script/publish
#/ #/
#/ Build a docker image of the semantic CLI and publish to the GitHub Package Registry #/ Build a docker image of the semantic CLI and publish to the GitHub Package Registry

View File

@ -1,4 +1,4 @@
#!/bin/bash #!/usr/bin/env bash
# Usage: script/repl [ARGS...] # Usage: script/repl [ARGS...]
# Run a repl session capable of loading all of the packages and their individual components. Any passed arguments, e.g. module names or flags, will be passed to ghci. # Run a repl session capable of loading all of the packages and their individual components. Any passed arguments, e.g. module names or flags, will be passed to ghci.