Skip to content

Commit

Permalink
Update linux plugins in doc
Browse files Browse the repository at this point in the history
Signed-off-by: astraw99 <wangchengiscool@gmail.com>
  • Loading branch information
astraw99 committed Aug 1, 2023
1 parent 283f200 commit 9acd43b
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export GOOS=windows
export GOFLAGS="${GOFLAGS} -mod=vendor"
echo "$GOFLAGS"

PLUGINS=$(cat plugins/windows_only.txt | dos2unix )
PLUGINS=$(cat plugins/windows.txt | dos2unix )
for d in $PLUGINS; do
plugin="$(basename "$d").exe"
echo "building $plugin"
Expand Down
1 change: 1 addition & 0 deletions plugins/linux.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
all except plugins in plugins/main/windows dir.
14 changes: 0 additions & 14 deletions plugins/linux_only.txt

This file was deleted.

2 changes: 1 addition & 1 deletion plugins/main/windows/build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e

PLUGINS=$(cat plugins/windows_only.txt)
PLUGINS=$(cat plugins/windows.txt)
for d in $PLUGINS; do
if [ -d "$d" ]; then
plugin="$(basename "$d").exe"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ echo "Running tests"

PKGS="./pkg/hns/..."

PLUGINS=$(cat plugins/windows_only.txt | dos2unix )
PLUGINS=$(cat plugins/windows.txt | dos2unix )
for d in $PLUGINS; do
PKGS="$PKGS ./$d/..."
done
Expand Down

0 comments on commit 9acd43b

Please sign in to comment.