add missing Apache2 statement to ceru

This commit is contained in:
do butterflies cry? 2026-01-08 14:03:59 +10:00
parent 0584805720
commit 19389d97e9
4 changed files with 59 additions and 1 deletions

View file

@ -1,4 +1,18 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2025 Emile Clark-Boman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -euo pipefail set -euo pipefail
# ======== CONFIGURATION ======== # ======== CONFIGURATION ========

View file

@ -1,9 +1,23 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2025 Emile Clark-Boman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# libceru relies on the script that sources # libceru relies on the script that sources
# it to set the following environment variables: # it to set the following environment variables:
# CMD_NAME USAGE # CMD_NAME USAGE
set -u
set -u
# ======== INTERNAL STATE ======== # ======== INTERNAL STATE ========
SUBCMDS="$PWD/subcmds" # XXX: TODO: don't hardcode as relative SUBCMDS="$PWD/subcmds" # XXX: TODO: don't hardcode as relative

View file

@ -1,5 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2025 Emile Clark-Boman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -euo pipefail set -euo pipefail
USAGE="${BOLD}${UNDERLINE}${RED}Usage${RESET} USAGE="${BOLD}${UNDERLINE}${RED}Usage${RESET}
${BOLD}${GREEN}$THIS new [option...] subcommand${RESET} ${BOLD}${GREEN}$THIS new [option...] subcommand${RESET}

View file

@ -1,5 +1,20 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# Copyright 2025 Emile Clark-Boman
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
set -euo pipefail set -euo pipefail
USAGE="${BOLD}${UNDERLINE}${RED}Usage${RESET} USAGE="${BOLD}${UNDERLINE}${RED}Usage${RESET}
${BOLD}${GREEN}$THIS new key [option...]${RESET} ${BOLD}${GREEN}$THIS new key [option...]${RESET}