Skip to content
This repository was archived by the owner on Jun 7, 2023. It is now read-only.

fix: Use yarn for scripts and ensure TAURI_CONFIG_DIR is defined #90

Closed
wants to merge 1 commit into from

Conversation

rajivshah3
Copy link
Member

Fixes #89

@rajivshah3 rajivshah3 added the Bug Something isn't working label Dec 21, 2019
@vercel
Copy link

vercel bot commented Dec 21, 2019

This pull request is being automatically deployed with ZEIT Now (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://zeit.co/iota/spark-wallet/1lty9caqv
🌍 Preview: https://spark-wallet-git-fix-build-script.iota1.now.sh

@rihardsgravis rihardsgravis self-requested a review December 22, 2019 08:18
@@ -6,8 +6,8 @@
"dev": "ts-node --project tsconfig.server.json index.ts",
"run:ios": "yarn build && cap copy && cap open ios",
"build": "cross-env NODE_ENV=production webpack",
"build:desktop": "npm run build && tauri build",
"test": "cd .tests && npm run test"
"build:desktop": "yarn build && TAURI_CONFIG_DIR=$(pwd)/src-tauri tauri build",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should use cross-env for Windows support

@rajivshah3
Copy link
Member Author

@rihardsgravis good point about Windows support, I actually forgot about that. It looks like the command for getting the current directory isn't the same on Windows: https://stackoverflow.com/questions/921741/windows-equivalent-to-unix-pwd

I'm working on a PR for Tauri so that we don't have to specify the full path

@rajivshah3
Copy link
Member Author

See #95

@rajivshah3 rajivshah3 closed this Dec 23, 2019
@rajivshah3 rajivshah3 deleted the fix/build-script branch December 23, 2019 21:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot save SeedVault on macOS
2 participants