Skip to content

Commit

Permalink
fix(build-root-package): several hyphens in dir name
Browse files Browse the repository at this point in the history
  • Loading branch information
reme3d2y committed Mar 25, 2020
1 parent 3f44260 commit aeb5dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build-root-package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# название подпакета => @alfalab/core-components-button => button = package_name
package_name=$(echo $1 | awk -F- '{print $3}')
package_name=$(echo $1 | awk -F "@alfalab/core-components-" '{print $2}')
# создаю дерикторию в корне проекта
mkdir -p ../../dist/$package_name
# копирую собранный подпакет в корневую сборку
Expand Down

0 comments on commit aeb5dfb

Please sign in to comment.