Skip to content

Commit

Permalink
Include .in files in cargo package
Browse files Browse the repository at this point in the history
  • Loading branch information
p4ken committed May 26, 2024
1 parent ddc13bf commit 91c6aec
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
name = "jgd"
version = "0.1.0"
edition = "2021"
description = "Transform coordinate systems used in Japan"
keywords = ["geospatial", "jgd"]
description = "Transform geodetic coordinates used in Japan"
keywords = ["TKY2JGD", "PatchJGD", "JGD2000", "JGD2011"]

[workspace]
members = ["par"]
members = ["par/conv"]

[features]
default = ["tky2jgd", "touhokutaiheiyouoki2011"]
tky2jgd = []
touhokutaiheiyouoki2011 = []

[dependencies]

Expand Down
3 changes: 2 additions & 1 deletion par/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.PHONY: all
all: TKY2JGD.in touhokutaiheiyouoki2011.in

%.in: %.par
cargo run < $*.par > $*.in
cargo run --package conv < $*.par > $*.in

%.par: %.zip
unzip -p $*.zip > $@
Expand Down
2 changes: 1 addition & 1 deletion par/Cargo.toml → par/conv/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "par"
name = "conv"
edition = "2021"
publish = false

Expand Down
File renamed without changes.

0 comments on commit 91c6aec

Please sign in to comment.