Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
Package without toolchain-iverilog dir. Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesus89 committed Oct 3, 2016
1 parent 197336f commit 0a85ebc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build-data/templates/package-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name":"toolchain-iverilog",
"description":"Icarus Verilog toolchain",
"url":"https://github.com/FPGAwars/toolchain-iverilog",
"url":"https://github.com/FPGAwars/toolchain-iverilog/releases",
"version": %VERSION%,
"system": [ %SYSTEM% ]
}
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ ARCHS=( )
NAME=toolchain-iverilog

# -- Debug flags
INSTALL_DEPS=0
COMPILE_IVERILOG=0
INSTALL_DEPS=1
COMPILE_IVERILOG=1
CREATE_PACKAGE=1

# -- Store current dir
Expand Down
6 changes: 3 additions & 3 deletions scripts/create_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ fi

if [ $ARCH == "darwin" ]; then
sed -i "" "s/%VERSION%/\"$VERSION\"/;" $PACKAGE_DIR/$NAME/package.json
sed -i "" "s/%VERSION%/\"darwin\", \"darwin_x86_64\", \"darwin_i386\"/;" $PACKAGE_DIR/$NAME/package.json
sed -i "" "s/%SYSTEM%/\"darwin\", \"darwin_x86_64\", \"darwin_i386\"/;" $PACKAGE_DIR/$NAME/package.json
fi

if [ $ARCH == "windows" ]; then
Expand All @@ -35,6 +35,6 @@ fi

## --Create a tar.gz package

cd $PACKAGE_DIR
cd $PACKAGE_DIR/$NAME

tar -czvf $NAME-$ARCH-$VERSION.tar.gz $NAME
tar -czvf ../$NAME-$ARCH-$VERSION.tar.gz *

0 comments on commit 0a85ebc

Please sign in to comment.