Skip to content

Commit 2bf9c04

Browse files
authored
Fix CI: SPDX headers in shell scripts (hyperledger-solang#1638)
1 parent dd4e4c8 commit 2bf9c04

File tree

9 files changed

+18
-0
lines changed
  • integration/polkadot
  • testdata/solang_import_resolution_tests

9 files changed

+18
-0
lines changed

integration/polkadot/build.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/bin/bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24
set -e
35

46
dup_contracts=$(grep -r '^contract .* {' | grep -v node_modules | awk '{ print $2 }' | sort | uniq -d)

testdata/solang_import_resolution_tests/01_solang_remap_target/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/02_solang_incorrect_direct_imports/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/03_ambiguous_imports_should_fail/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/04_multiple_map_path_segments/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/05_import_path_order_should_not_matter/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/06_redundant_remaps/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
# shellcheck source=/dev/null
46
source "../util.sh"

testdata/solang_import_resolution_tests/run.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
function print_test_set_banner {
46

testdata/solang_import_resolution_tests/util.sh

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
#!/usr/bin/env bash
2+
# SPDX-License-Identifier: Apache-2.0
3+
24

35
function run_solc {
46
if [ -z ${SOLC+x} ]; then

0 commit comments

Comments
 (0)