fix: drop unnecessary wrappers, fix shebangs
Also make the hook installation run by default. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
b15fa6d2c8
commit
5aa9eb913d
6
Makefile
6
Makefile
|
@ -405,8 +405,10 @@ migration-wallet:
|
|||
touch $(DEFAULT_WALLET_MIGRATION_PATH)/$(shell date +%s)_$(D).up.sql
|
||||
|
||||
install-git-hooks:
|
||||
@ln -s -f $(shell pwd)/_assets/hooks/pre-rebase .git/hooks
|
||||
@ln -s -f $(shell pwd)/_assets/hooks/pre-merge-commit .git/hooks
|
||||
@ln -srf $(shell pwd)/_assets/hooks/* .git/hooks
|
||||
|
||||
-include install-git-hooks
|
||||
.PHONY: install-git-hooks
|
||||
|
||||
migration-protocol: DEFAULT_PROTOCOL_PATH := protocol/migrations/sqlite
|
||||
migration-protocol:
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
make migration-check
|
|
@ -0,0 +1 @@
|
|||
../scripts/migration_check.sh
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
make migration-check
|
|
@ -0,0 +1 @@
|
|||
../scripts/migration_check.sh
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
json_path='.ClusterConfig.TrustedMailServers'
|
||||
mailservers=$(jq -r "${json_path} | .[]" $1)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
|
Loading…
Reference in New Issue