Skip to content

Instantly share code, notes, and snippets.

@t-sin
Created March 7, 2021 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t-sin/c5ff1adc538bca0eaae09fbb6f29c3cd to your computer and use it in GitHub Desktop.
Save t-sin/c5ff1adc538bca0eaae09fbb6f29c3cd to your computer and use it in GitHub Desktop.
$ tree ~/.mimium/
/home/grey/.mimium/
├── git
│   └── github.com
│   └── koto
│   └── mmmp.toml
└── mmmp
└── koto
└── mmmp.toml
5 directories, 2 files
$ cargo run -- -v run koto
warning: variant is never constructed: `Path`
--> src/package.rs:17:5
|
17 | Path(Box<Path>),
| ^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted
Finished dev [unoptimized + debuginfo] target(s) in 0.02s
Running `target/debug/mmmpm -v run koto`
[mmmpm] mimium directory = "/home/grey/.mimium"
[mmmpm] "/home/grey/.mimium" is found.
[mmmpm::package] Determine package type of koto
[mmmpm::package] Check if it'a mmmpm package
[mmmpm::package] It's a mmmpm package
[mmmpm::package] Check if the `mmmp.toml` exists at "/home/grey/.mimium/mmmp/koto/mmmp.toml"
[mmmpm::package] Parse package file "/home/grey/.mimium/mmmp/koto/mmmp.toml"
[mmmpm::subcommand::run] Run package koto.
[mmmpm::subcommand::run] Run mimium with args: ["/home/grey/.mimium/mmmp/koto/main.mmm"]
stderr:
filesystem error: cannot make canonical path: No such file or directory [../../../.mimium/mmmp/koto/main.mmm]
[mmmpm] Subcommand `run` failed because of MimiumFailed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment