warble compiled war only compile .rb files under ./lib
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 領域
- build-system
調査の方向性
The war file contents are decided by the Warbler config and its file-gathering logic, so start there rather than in the Rack app itself. Find where Warbler collects Ruby files into the archive and check why only paths under lib are picked up for app.rb and config.ru-adjacent files. Reproduce with a small app that has app.rb at the root and run the packaging task to confirm the missing file. Done means the root-level .rb file appears in the war, with a spec covering it.
索引モデルが issue の本文から書いたものです。
説明
I have a rack app contains config.ru, app.rb, but warble won't compile app.rb unless I put it under /lib. Is this a bug or a feature?
Some rack based frameworks, like Cuba, also puts .rb files under project root( Sample App ), how can I use it with Warbler?
environment: jruby 9.0.1.0, warbler 2.0.0.rc1, cuba 3.4.0
Thank you!
- 主要言語
- Ruby
- スター
- 901
- フォーク
- 206
- 平均マージ
- 1日 10時間
- マージ済み PR(30日)
- 3
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
jruby/warbler のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
-
難易度 4/5 1週間以上 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
glossarist/glossarist-ruby#247 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
voxpupuli/puppet-corosync#589 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
simp/pupmod-simp-simp#406 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信