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:
parent
7b588d89c5
commit
df8e63f1fb
@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
cabal v2-update
|
cabal v2-update
|
||||||
|
@ -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:
|
||||||
|
@ -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.
|
||||||
|
@ -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)"
|
||||||
|
|
||||||
|
@ -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
|
||||||
#/
|
#/
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Computes the flags for ghcide to pass to ghci. You probably won’t be running this yourself, but rather ghcide will via configuration in hie.yaml.
|
# Computes the flags for ghcide to pass to ghci. You probably won’t be running this yourself, but rather ghcide will via configuration in hie.yaml.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
# Computes the paths to files causing changes to the ghci flags. You probably won’t 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 won’t be running this yourself, but rather ghcide will via configuration in hie.yaml.
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user