We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have this canisters and i have 2 different mops.toml files in this subdirectory backend/apps/app2/canister and this one backend/apps/app1/canister
{ "canisters": { "app2": { "main": "backend/apps/app2/canister/src/main.mo", "build": "cd backend/apps/app2/canister && mops sources", "type": "motoko" }, "app1": { "type": "motoko", "main": "backend/apps/app1/canister/src/main.mo", "build": "cd backend/apps/app1/canister && mops sources" } } }
If i combine the packages in mops.toml and have that in the root of my folders and instead use this setup in my dfx.json it works
{ "canisters": { "app2": { "main": "backend/apps/app2/canister/src/main.mo", "type": "motoko" }, "app1": { "type": "motoko", "main": "backend/apps/app1/canister/src/main.mo", } }, "defaults": { "build": { "packtool": "mops sources" } } }
The text was updated successfully, but these errors were encountered:
Do i need to have a dfx.json for each sub directory
Sorry, something went wrong.
Yes, I think this is the only way - dfx.json and mops.toml for each sub directory
No branches or pull requests
I have this canisters and i have 2 different mops.toml files in this subdirectory backend/apps/app2/canister and this one backend/apps/app1/canister
If i combine the packages in mops.toml and have that in the root of my folders and instead use this setup in my dfx.json it works
The text was updated successfully, but these errors were encountered: