Files
rubbs/.woodpecker.yaml
mr.zeroandClaude Opus 5 786b20986f
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
Quote the load check so /bin/sh can parse it
The check used escaped double quotes around a Ruby interpolation, which
the pipeline's /bin/sh rejected with "Unterminated quoted string". Single
quotes outside, plain concatenation inside — no escapes left to misread.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-17 07:12:04 +02:00

18 lines
683 B
YAML

# A gemnek nincs teszt-suite-ja, ezért az ellenőrzés három dolgot néz:
# minden forrás szintaktikailag helyes-e, felépül-e a gem, és betölthető-e
# a függőségeivel együtt.
steps:
- name: test
image: ruby:3.2-slim
commands:
- ruby -v
- echo "==> Syntax check"
- |
for f in $(find lib -name '*.rb'); do ruby -c "$f" >/dev/null || exit 1; done
echo "$(find lib -name '*.rb' | wc -l) fajl rendben"
- echo "==> Gem build"
- gem build bbs.gemspec
- echo "==> Load check"
- gem install --no-document ./bbs-*.gem
- ruby -e 'require "bbs"; puts "BBS betoltve, " + BBS.constants.size.to_s + " konstans"'