Skip to content

Commit 354b628

Browse files
committed
Remove leading whitespace that was causing shebang to fail
1 parent aa79ca1 commit 354b628

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

tasks/reset.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
#!/usr/bin/env bash
2-
#MISE description="Clean install of EQL"
1+
#!/bin/bash
2+
#MISE description="Clean install of EQL"
33

4-
#!/bin/bash
4+
set -euxo pipefail
55

6-
set -euxo pipefail
6+
connection_url=postgresql://${CS_DATABASE__USERNAME:-$USER}:@localhost:$CS_DATABASE__PORT/$CS_DATABASE__NAME
77

8-
connection_url=postgresql://${CS_DATABASE__USERNAME:-$USER}:@localhost:$CS_DATABASE__PORT/$CS_DATABASE__NAME
8+
# Uninstall
9+
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt-uninstall.sql
910

10-
# Uninstall
11-
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt-uninstall.sql
12-
13-
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt.sql
11+
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f release/cipherstash-encrypt.sql

tasks/test.sh

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
1-
#!/usr/bin/env bash
2-
#MISE description="Build, reset and run test"
1+
#!/usr/bin/env bash
2+
#MISE description="Build, reset and run test"
33

4-
#!/bin/bash
4+
#!/bin/bash
55

6-
set -euxo pipefail
6+
set -euxo pipefail
77

8-
mise run build
9-
mise run reset
10-
11-
connection_url=postgresql://${CS_DATABASE__USERNAME:-$USER}:@localhost:$CS_DATABASE__PORT/$CS_DATABASE__NAME
12-
13-
# # tests
14-
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core.sql
15-
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core-functions.sql
16-
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/config.sql
17-
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/encryptindex.sql
18-
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/operators.sql
8+
mise run build
9+
mise run reset
1910

11+
connection_url=postgresql://${CS_DATABASE__USERNAME:-$USER}:@localhost:$CS_DATABASE__PORT/$CS_DATABASE__NAME
2012

13+
# # tests
14+
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core.sql
15+
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/core-functions.sql
16+
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/config.sql
17+
# PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/encryptindex.sql
18+
PGPASSWORD=$CS_DATABASE__PASSWORD psql $connection_url -f tests/operators.sql

0 commit comments

Comments
 (0)