Skip to content

Commit 070ecc4

Browse files
committed
dapp: remappings: fix transitive-imports flag
1 parent 35fa490 commit 070ecc4

File tree

1 file changed

+7
-7
lines changed
  • src/dapp/libexec/dapp

1 file changed

+7
-7
lines changed

src/dapp/libexec/dapp/dapp

+7-7
Original file line numberDiff line numberDiff line change
@@ -111,13 +111,6 @@ if ! [[ $DAPP_INIT ]]; then
111111
[[ $(pwd) != ~ && -e .dapprc ]] && . .dapprc
112112
fi
113113

114-
export DAPP_SRC=${DAPP_SRC-src}
115-
export DAPP_LIB=${DAPP_LIB-lib}
116-
export DAPP_OUT=${DAPP_OUT-out}
117-
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
118-
export DAPP_ROOT=${DAPP_ROOT-.}
119-
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}
120-
121114
if [[ $2 = --help ]]; then
122115
exec "${0##*/}" help -- "$1"
123116
elif [[ $DAPP_SOLC_VERSION ]]; then
@@ -184,6 +177,13 @@ while [[ $1 ]]; do
184177
esac; shift
185178
done
186179

180+
export DAPP_SRC=${DAPP_SRC-src}
181+
export DAPP_LIB=${DAPP_LIB-lib}
182+
export DAPP_OUT=${DAPP_OUT-out}
183+
export DAPP_JSON=${DAPP_JSON-${DAPP_OUT}/dapp.sol.json}
184+
export DAPP_ROOT=${DAPP_ROOT-.}
185+
export DAPP_REMAPPINGS=${DAPP_REMAPPINGS-"$(dapp-remappings)"}
186+
187187
if ! [ -x "$(command -v "${0##*/}-${1-help}")" ]; then
188188
# look for approximate matches
189189
echo >&2 "'$1' is not a dapp command. See 'dapp help'."

0 commit comments

Comments
 (0)