Skip to content

Commit

Permalink
Use correct path when building compiler for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
kengorab committed Nov 2, 2024
1 parent 1a80cd7 commit 13fbfa1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions projects/compiler/scripts/generate-package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,15 @@ if [ -d "$pkg_dir" ]; then
fi
mkdir "$pkg_dir"

abra build -o compiler ./src/compiler.test.abra
abra build -o compiler "$script_dir/../src/compiler.test.abra"
cp ./._abra/compiler "$pkg_dir/compiler"

cp "$script_dir/abraw" "$pkg_dir/abra"
echo -n "$version" > "$pkg_dir/version"

mkdir "$pkg_dir/include"
#cp "$script_dir/../../abra_llvm/ext/libgc/lib/libgc.a" "$pkg_dir/include/."
cp "$script_dir/../ext/bdwgc/libgc.a" "$pkg_dir/include/."

#cp -r "$script_dir/../../abra_core/std" "$pkg_dir/std"
cp -r "$script_dir/../../std" "$pkg_dir/std"

cd "$pkg_dir"
Expand Down

0 comments on commit 13fbfa1

Please sign in to comment.