Skip to content

Commit

Permalink
Should use parameterized goals instead of calling ./makesure #151
Browse files Browse the repository at this point in the history
  • Loading branch information
xonixx committed Dec 23, 2023
1 parent a5a62ec commit fafd7e5
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Makesurefile
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@
@depends_on installed_goawk
@depends_on fhtagn @args "$GOAWK"


@goal tested_goawk_branch @private
@depends_on installed_goawk_branch
./makesure -D MAKESURE_AWK="$(pwd)/soft/$GOAWK_BRANCH_EXE" tested

@goal tested_busybox @private
@reached_if [[ "$OSTYPE" != "linux-gnu"* ]] # only test busybox awk on linux
@depends_on installed_busybox
Expand Down Expand Up @@ -384,9 +379,13 @@
mv goawk $GOAWK
"./$GOAWK" --version

@define GOAWK_BRANCH 'bytecode'
@define GOAWK_BRANCH 'length-array'
@define GOAWK_BRANCH_EXE "goawk_$GOAWK_BRANCH"

@goal tested_goawk_branch @private
@depends_on installed_goawk_branch
@depends_on fhtagn @args "$GOAWK_BRANCH_EXE"

@goal installed_goawk_branch @private
@reached_if [[ -f soft/$GOAWK_BRANCH_EXE ]]
@depends_on soft_folder_created
Expand Down

0 comments on commit fafd7e5

Please sign in to comment.