Skip to content

Commit

Permalink
Merge pull request #594 from Shopify/dc-pickup-point
Browse files Browse the repository at this point in the history
Update pickup points
  • Loading branch information
davejcameron authored Jan 28, 2025
2 parents aa7b3db + 5f7c154 commit e6db647
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "{{name}}",
"description": "{{name}}"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
api_version = "unstable"

[[extensions]]
name = "{{name}}"
name = "t:name"
handle = "{{handle}}"
type = "function"
{% if uid %}uid = "{{ uid }}"{% endif %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
[package]
name = "{{handle}}"
name = "{{handle | replace: " ", "-" | downcase}}"
version = "1.0.0"
edition = "2021"
rust-version = "1.62"

[lib]
crate-type = ["cdylib"]

[dependencies]
serde = { version = "1.0.13", features = ["derive"] }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "{{name}}",
"description": "{{name}}"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
api_version = "unstable"

[[extensions]]
name = "{{name}}"
name = "t:name"
handle = "{{handle}}"
type = "function"
{% if uid %}uid = "{{ uid }}"{% endif %}
Expand All @@ -18,7 +18,7 @@ export = "run"

[extensions.build]
command = "cargo build --target=wasm32-wasip1 --release"
path = "target/wasm32-wasip1/release/{{handle | replace: "-", "_" | downcase}}.wasm"
path = "target/wasm32-wasip1/release/{{handle | replace: " ", "_" | downcase}}.wasm"
watch = ["src/**/*.rs"]

[extensions.ui.paths]
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
use std::process;
pub mod fetch;
pub mod run;

fn main() {
eprintln!("Please invoke a named export.");
process::exit(1);
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "{{name}}",
"description": "{{name}}"
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
api_version = "unstable"

[[extensions]]
name = "{{name}}"
name = "t:name"
handle = "{{handle}}"
type = "function"
{% if uid %}uid = "{{ uid }}"{% endif %}
Expand Down

0 comments on commit e6db647

Please sign in to comment.