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 Jul 25, 2023
1 parent 283f200 commit ef7c319
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 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
4 changes: 4 additions & 0 deletions plugins/linux_only.txt → plugins/linux.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
plugins/ipam/dhcp
plugins/ipam/host-local
plugins/ipam/static
plugins/main/bridge
plugins/main/host-device
plugins/main/ipvlan
plugins/main/loopback
plugins/main/macvlan
plugins/main/ptp
plugins/main/tap
plugins/main/vlan
plugins/main/dummy
plugins/meta/portmap
plugins/meta/tuning
plugins/meta/bandwidth
plugins/meta/firewall
plugins/meta/vrf
plugins/meta/sbr
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 ef7c319

Please sign in to comment.