Skip to content

Commit

Permalink
npm run dist && npm i
Browse files Browse the repository at this point in the history
  • Loading branch information
dherman committed Mar 25, 2024
1 parent d4a616c commit 80e3619
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 115 deletions.
15 changes: 0 additions & 15 deletions dist/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40414,21 +40414,6 @@ class Dist {
throw new Error(`No artifacts were generated for crate ${this._crateName}`);
}
return file;
// const messages: CargoMessages = new CargoMessages({
// mount: this._mount || undefined,
// manifestPath: this._manifestPath || undefined,
// file: this._log || undefined,
// verbose: this._verbose
// });
// const artifact = messages.findArtifact(this._crateName);
// if (!artifact) {
// throw new Error(`No artifacts were generated for crate ${this._crateName}`);
// }
// const file = artifact.findFileByCrateType('cdylib');
// if (!file) {
// throw new Error(`No cdylib artifact found for crate ${this._crateName}`);
// }
// return file;
}
log(msg) {
if (this._verbose) {
Expand Down
14 changes: 7 additions & 7 deletions dist/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
},
"homepage": "https://github.com/dherman/neon-rs#readme",
"optionalDependencies": {
"@cargo-messages/android-arm-eabi": "0.1.52",
"@cargo-messages/darwin-arm64": "0.1.52",
"@cargo-messages/darwin-x64": "0.1.52",
"@cargo-messages/linux-arm-gnueabihf": "0.1.52",
"@cargo-messages/linux-x64-gnu": "0.1.52",
"@cargo-messages/win32-arm64-msvc": "0.1.52",
"@cargo-messages/win32-x64-msvc": "0.1.52"
"@cargo-messages/android-arm-eabi": "0.1.54",
"@cargo-messages/darwin-arm64": "0.1.54",
"@cargo-messages/darwin-x64": "0.1.54",
"@cargo-messages/linux-arm-gnueabihf": "0.1.54",
"@cargo-messages/linux-x64-gnu": "0.1.54",
"@cargo-messages/win32-arm64-msvc": "0.1.54",
"@cargo-messages/win32-x64-msvc": "0.1.54"
}
}
56 changes: 28 additions & 28 deletions dist/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"dependencies": {
"@neon-rs/load": "^0.0.181",
"@neon-rs/manifest": "^0.0.5",
"cargo-messages": "^0.1.52",
"cargo-messages": "^0.1.54",
"chalk": "^5.2.0",
"command-line-args": "^5.2.1",
"command-line-commands": "^3.0.2",
Expand All @@ -65,12 +65,12 @@
"temp": "^0.9.4"
},
"optionalDependencies": {
"@cargo-messages/android-arm-eabi": "0.1.52",
"@cargo-messages/darwin-arm64": "0.1.52",
"@cargo-messages/darwin-x64": "0.1.52",
"@cargo-messages/linux-arm-gnueabihf": "0.1.52",
"@cargo-messages/linux-x64-gnu": "0.1.52",
"@cargo-messages/win32-arm64-msvc": "0.1.52",
"@cargo-messages/win32-x64-msvc": "0.1.52"
"@cargo-messages/android-arm-eabi": "0.1.54",
"@cargo-messages/darwin-arm64": "0.1.54",
"@cargo-messages/darwin-x64": "0.1.54",
"@cargo-messages/linux-arm-gnueabihf": "0.1.54",
"@cargo-messages/linux-x64-gnu": "0.1.54",
"@cargo-messages/win32-arm64-msvc": "0.1.54",
"@cargo-messages/win32-x64-msvc": "0.1.54"
}
}
18 changes: 0 additions & 18 deletions src/cli/src/commands/dist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,24 +157,6 @@ export default class Dist implements Command {
}

return file;
// const messages: CargoMessages = new CargoMessages({
// mount: this._mount || undefined,
// manifestPath: this._manifestPath || undefined,
// file: this._log || undefined,
// verbose: this._verbose
// });

// const artifact = messages.findArtifact(this._crateName);
// if (!artifact) {
// throw new Error(`No artifacts were generated for crate ${this._crateName}`);
// }

// const file = artifact.findFileByCrateType('cdylib');
// if (!file) {
// throw new Error(`No cdylib artifact found for crate ${this._crateName}`);
// }

// return file;
}

log(msg: string) {
Expand Down
78 changes: 39 additions & 39 deletions src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 80e3619

Please sign in to comment.