Selaa lähdekoodia

Fix CI: SPDX headers in shell scripts (#1638)

Cyrill Leutwiler 1 vuosi sitten
vanhempi
sitoutus
2bf9c04046

+ 2 - 0
integration/polkadot/build.sh

@@ -1,4 +1,6 @@
 #!/bin/bash
+# SPDX-License-Identifier: Apache-2.0
+
 set -e
 
 dup_contracts=$(grep -r '^contract .* {' | grep -v node_modules | awk '{ print $2 }' | sort | uniq -d)

+ 2 - 0
testdata/solang_import_resolution_tests/01_solang_remap_target/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/02_solang_incorrect_direct_imports/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/03_ambiguous_imports_should_fail/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/04_multiple_map_path_segments/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/05_import_path_order_should_not_matter/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/06_redundant_remaps/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 # shellcheck source=/dev/null
 source "../util.sh"

+ 2 - 0
testdata/solang_import_resolution_tests/run.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 function print_test_set_banner {
 

+ 2 - 0
testdata/solang_import_resolution_tests/util.sh

@@ -1,4 +1,6 @@
 #!/usr/bin/env bash
+# SPDX-License-Identifier: Apache-2.0
+
 
 function run_solc {
     if [ -z ${SOLC+x} ]; then