Skip to content
New issue

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

Add instructions for adding ./config/build file #53

Open
emanuelb opened this issue Mar 15, 2021 · 1 comment
Open

Add instructions for adding ./config/build file #53

emanuelb opened this issue Mar 15, 2021 · 1 comment

Comments

@emanuelb
Copy link

Building the app result in error that ./config/build file is missing, it needs to be created like the secrets.js file that has explanation here:
https://github.com/COINiD/COINiDWallet#secretsjs

error Unable to resolve module `../config/build` from `/app/coinid/src/settingstree/About.js`: The module `../config/build` could not be found from `/app/coinid/src/settingstree/About.js`. Indeed, none of these files exist:
  * `/app/coinid/src/config/build(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`
  * `/app/coinid/src/config/build/index(.native||.android.js|.native.js|.js|.android.json|.native.json|.json|.android.ts|.native.ts|.ts|.android.tsx|.native.tsx|.tsx)`

it need the params:
commit
tag
dirty
time
version

@emanuelb
Copy link
Author

The file can be generated by:

printf '{"commit":"c557790","version":"1.8.0","time":1621151577,"dirty":false,"tag":"v1.8.0"}' > ./src/config/build.json;

or by running ./bin/createBuildJSON script (must be run from git repo, not from tarball)
https://github.com/COINiD/COINiDWallet/blob/323ad10194782b6908c2497a4aa6afefba3e26a5/bin/createBuildJSON

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant