Skip to content

Commit

Permalink
added Felix
Browse files Browse the repository at this point in the history
  • Loading branch information
DennisMitchell committed Jan 17, 2018
1 parent 427164b commit bb81766
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions languages/felix
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

err=0
trap 'err=1' ERR

rm -rf felix
mkdir felix
cd felix
git clone --depth=1 https://github.com/felix-lang/felix.git build
cd build
PATH=$PATH:build/release/host/bin make -f GNUmakefile build
find -type f -exec strip --strip-debug {} + 2> /dev/null
make -f GNUmakefile install PREFIX=/opt/felix
cd ..
rm -r build

exit "$err"

0 comments on commit bb81766

Please sign in to comment.