Skip to content

Commit

Permalink
[WIP] Build Alpine package. Closes yarnpkg#1326
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 committed Nov 14, 2016
1 parent 3ed3039 commit 932e90e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build-deb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ FPM="fpm --input-type dir --chdir $PACKAGE_TMPDIR --name yarn --version $VERSION
eval "$FPM --output-type rpm --architecture noarch --depends nodejs --category 'Development/Languages' ."
mv *.rpm $OUTPUT_DIR

##### Build APK (Alpine) package
./scripts/set-installation-method.js $PACKAGE_TMPDIR_ABSOLUTE/usr/share/yarn/package.json apk
eval "$FPM --output-type apk --architecture noarch ."
mv *.apk $OUTPUT_DIR

##### Build DEB (Debian, Ubuntu) package
./scripts/set-installation-method.js $PACKAGE_TMPDIR_ABSOLUTE/usr/share/yarn/package.json deb
mkdir -p $PACKAGE_TMPDIR/DEBIAN
Expand Down

0 comments on commit 932e90e

Please sign in to comment.