Skip to content

Instantly share code, notes, and snippets.

@ZogStriP
Created September 3, 2013 20:32
Show Gist options
  • Save ZogStriP/6429163 to your computer and use it in GitHub Desktop.
Save ZogStriP/6429163 to your computer and use it in GitHub Desktop.
~/Poetry/fast_stack (master) → ber compile
mkdir -p lib/fast_stack
mkdir -p tmp/x86_64-darwin12.3.0/fast_stack/2.0.0
cd tmp/x86_64-darwin12.3.0/fast_stack/2.0.0
/Users/regis/.rvm/rubies/ruby-2.0.0-p195/bin/ruby -I. ../../../../ext/fast_stack/extconf.rb
creating Makefile
cd -
cd tmp/x86_64-darwin12.3.0/fast_stack/2.0.0
make
compiling ../../../../ext/fast_stack/fast_stack.c
linking shared-object fast_stack/fast_stack.bundle
cd -
mkdir -p tmp/x86_64-darwin12.3.0/stage/lib/fast_stack
cp MIT-LICENSE tmp/x86_64-darwin12.3.0/stage/MIT-LICENSE
cp README.md tmp/x86_64-darwin12.3.0/stage/README.md
cp lib/fast_stack.rb tmp/x86_64-darwin12.3.0/stage/lib/fast_stack.rb
mkdir -p tmp/x86_64-darwin12.3.0/stage/ext/fast_stack
cp ext/fast_stack/fast_stack.c tmp/x86_64-darwin12.3.0/stage/ext/fast_stack/fast_stack.c
cp ext/fast_stack/extconf.rb tmp/x86_64-darwin12.3.0/stage/ext/fast_stack/extconf.rb
mkdir -p tmp/x86_64-darwin12.3.0/stage/spec
cp spec/fast_stack_spec.rb tmp/x86_64-darwin12.3.0/stage/spec/fast_stack_spec.rb
install -c tmp/x86_64-darwin12.3.0/fast_stack/2.0.0/fast_stack.bundle lib/fast_stack/fast_stack.bundle
cp tmp/x86_64-darwin12.3.0/fast_stack/2.0.0/fast_stack.bundle tmp/x86_64-darwin12.3.0/stage/lib/fast_stack/fast_stack.bundle
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment