diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml new file mode 100644 index 0000000..ade2ade --- /dev/null +++ b/.github/workflows/macos.yml @@ -0,0 +1,33 @@ +name: MacOS + +on: + push: + branches: [ main ] + pull_request: + workflow_dispatch: + +jobs: + test: + runs-on: macos-14 + steps: + - name: Select XCode + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: 14.3.1 + + - name: Brew install + run: | + brew install bison flex binutils libffi double-conversion boost jemalloc fmt glog gnu-sed bash zlib ncurses + echo "$(brew --prefix bison)/bin" >> $GITHUB_PATH + + - name: Install gem + run: gem install tebako + + - name: Checkout sample + uses: actions/checkout@v4 + + - name: Package + run: tebako press -e app.rb -o sample.tebako -r sinatra + + - name: Look around + run: ls -la diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bdf9070 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +sample.tebako +.vscode/ diff --git a/README.adoc b/README.adoc index 3f25ef1..b12c41c 100644 --- a/README.adoc +++ b/README.adoc @@ -34,6 +34,13 @@ Packaging with Tebako: [source,sh] ---- -$ cd sinatra -$ tebako press -e app.rb -o sample.teb -r ./ +tebako press -e app.rb -o sample.tebako -r sinatra +---- + +Note: please do not package "in-place" like +[source,sh] +---- +tebako press -e app.rb -o sample.tebako -r ./ ---- + +Tebako includes all files starting from the root folder into package and packaging "in-place" will force endless recursive inclusion of the package into itself.