mirror of
https://github.com/wezterm/wezterm.git
synced 2026-11-08 01:21:45 +08:00
ci: Unify shebangs to be portable on systems without /bin/bash (→NixOS)
This commit is contained in:
parent
cce7d7a000
commit
6f8b1d41b2
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# This script updates the icon files from the svg file.
|
||||
# It assumes that the svg file is square.
|
||||
set -x
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use eg: `xwininfo -int` to get the id of a wezterm
|
||||
# and pass it to this script
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
rm -rf AppDir *.AppImage *.zsync
|
||||
set -e
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
SERVE=no
|
||||
if [ "$1" == "serve" ] ; then
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
name="$1"
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Use eg: `xwininfo -int` to get the id of a wezterm
|
||||
# and pass it to this script
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -xe
|
||||
|
||||
winget_repo=$1
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
set -x
|
||||
set -e
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Generate a source tarball that includes git submodules
|
||||
|
||||
set -x
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
git -c "core.abbrev=8" show -s "--format=%cd-%h" "--date=format:%Y%m%d-%H%M%S"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
TAGNAME=$(./ci/tag-name.sh)
|
||||
git tag $TAGNAME
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# You need: https://crates.io/crates/cargo-cooldown
|
||||
# This script is logically equivalent to running `cargo update`
|
||||
# but respects dependency cooldown settings found in the cooldown.toml
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Update files that are derived from things baked into the executable
|
||||
|
||||
|
||||
2
deps/cairo/import-cairo.sh
vendored
2
deps/cairo/import-cairo.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Sync the vendored sources from a pixman URL
|
||||
# eg:
|
||||
# wget 'https://cairographics.org/snapshots/cairo-1.17.8.tar.xz'
|
||||
|
||||
2
deps/cairo/import-pixman.sh
vendored
2
deps/cairo/import-pixman.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
# Sync the vendored sources from a pixman URL
|
||||
# eg:
|
||||
# wget 'https://cairographics.org/releases/pixman-0.42.2.tar.gz'
|
||||
|
||||
2
deps/freetype/regenerate.sh
vendored
2
deps/freetype/regenerate.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
bindgen bindings.h -o src/types.rs \
|
||||
--no-layout-tests \
|
||||
|
||||
2
deps/harfbuzz/regenerate.sh
vendored
2
deps/harfbuzz/regenerate.sh
vendored
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
bindgen bindings.h -o src/lib.rs \
|
||||
--no-layout-tests \
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# https://tldp.org/HOWTO/Bash-Prompt-HOWTO/x329.html
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user