Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
maxirmx authored Jun 29, 2024
2 parents a855425 + f4efd4e commit 8751503
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sample.tebako
.vscode/
11 changes: 9 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 8751503

Please sign in to comment.