Skip to content

Commit

Permalink
fix(vscode-build) Apparently this is how we need to use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
Rheeseyb committed Feb 2, 2024
1 parent 5a4cc2d commit 7bad65a
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vscode-build/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,31 +17,31 @@ let
#!/usr/bin/env bash
set -e
cd $(${pkgs.git}/bin/git rev-parse --show-toplevel)/vscode-build
${yarn}/bin/yarn
${yarn}/bin/yarn run make-patch
yarn
yarn run make-patch
'')
(pkgs.writeScriptBin "pull-extension-inner" ''
#!/usr/bin/env bash
set -e
cd $(${pkgs.git}/bin/git rev-parse --show-toplevel)/vscode-build
${yarn}/bin/yarn
${yarn}/bin/yarn run pull-utopia-extension
yarn
yarn run pull-utopia-extension
'')
(pkgs.writeScriptBin "update-vscode-build-extension-inner" ''
#!/usr/bin/env bash
set -e
build-utopia-vscode-extension
cd $(${pkgs.git}/bin/git rev-parse --show-toplevel)/vscode-build
${yarn}/bin/yarn
${yarn}/bin/yarn run pull-utopia-extension
yarn
yarn run pull-utopia-extension
'')
(pkgs.writeScriptBin "build-vscode-inner" ''
#!/usr/bin/env bash
set -e
cd $(${pkgs.git}/bin/git rev-parse --show-toplevel)/vscode-build
rm -rf ./dist ./node_modules
${yarn}/bin/yarn
${yarn}/bin/yarn run build
yarn
yarn run build
'')
];

Expand Down

0 comments on commit 7bad65a

Please sign in to comment.