Misc fixes before publishing new version (#271)
This commit is contained in:
parent
88afe90630
commit
19a559c868
@ -7,8 +7,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.3.4] - 2017-10-06
|
||||||
|
### Added
|
||||||
- Do not evaluate backticks in assignments during dry runs (#253)
|
- Do not evaluate backticks in assignments during dry runs (#253)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Change license to CC0 going forward (#270)
|
||||||
|
|
||||||
## [0.3.1] - 2017-10-06
|
## [0.3.1] - 2017-10-06
|
||||||
### Added
|
### Added
|
||||||
- Started keeping a changelog in CHANGELOG.md (#220)
|
- Started keeping a changelog in CHANGELOG.md (#220)
|
||||||
|
12
Cargo.lock
generated
12
Cargo.lock
generated
@ -70,6 +70,11 @@ name = "either"
|
|||||||
version = "1.4.0"
|
version = "1.4.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
|
[[package]]
|
||||||
|
name = "executable-path"
|
||||||
|
version = "1.0.0"
|
||||||
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "fuchsia-zircon"
|
name = "fuchsia-zircon"
|
||||||
version = "0.2.1"
|
version = "0.2.1"
|
||||||
@ -109,13 +114,13 @@ dependencies = [
|
|||||||
"brev 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
"brev 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"clap 2.28.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"clap 2.28.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"edit-distance 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"edit-distance 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
|
"executable-path 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"itertools 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"itertools 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
"lazy_static 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
"libc 0.2.34 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"regex 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
"regex 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
"tempdir 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"unicode-width 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
"unicode-width 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)",
|
||||||
"utilities 0.0.0",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
@ -247,10 +252,6 @@ name = "utf8-ranges"
|
|||||||
version = "1.0.0"
|
version = "1.0.0"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
|
|
||||||
[[package]]
|
|
||||||
name = "utilities"
|
|
||||||
version = "0.0.0"
|
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "vec_map"
|
name = "vec_map"
|
||||||
version = "0.8.0"
|
version = "0.8.0"
|
||||||
@ -282,6 +283,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|||||||
"checksum clap 2.28.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dc34bf7d5d66268b466b9852bca925ec1d2650654dab4da081e63fd230145c2e"
|
"checksum clap 2.28.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dc34bf7d5d66268b466b9852bca925ec1d2650654dab4da081e63fd230145c2e"
|
||||||
"checksum edit-distance 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6a34f5204fbc13582de418611cf3a7dcdd07c6d312a5b631597ba72c06b9d9c9"
|
"checksum edit-distance 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "6a34f5204fbc13582de418611cf3a7dcdd07c6d312a5b631597ba72c06b9d9c9"
|
||||||
"checksum either 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "740178ddf48b1a9e878e6d6509a1442a2d42fd2928aae8e7a6f8a36fb01981b3"
|
"checksum either 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "740178ddf48b1a9e878e6d6509a1442a2d42fd2928aae8e7a6f8a36fb01981b3"
|
||||||
|
"checksum executable-path 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3ebc5a6d89e3c90b84e8f33c8737933dda8f1c106b5415900b38b9d433841478"
|
||||||
"checksum fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f6c0581a4e363262e52b87f59ee2afe3415361c6ec35e665924eb08afe8ff159"
|
"checksum fuchsia-zircon 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f6c0581a4e363262e52b87f59ee2afe3415361c6ec35e665924eb08afe8ff159"
|
||||||
"checksum fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "43f3795b4bae048dc6123a6b972cadde2e676f9ded08aef6bb77f5f157684a82"
|
"checksum fuchsia-zircon-sys 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "43f3795b4bae048dc6123a6b972cadde2e676f9ded08aef6bb77f5f157684a82"
|
||||||
"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
|
"checksum glob 0.2.11 (registry+https://github.com/rust-lang/crates.io-index)" = "8be18de09a56b60ed0edf84bc9df007e30040691af7acd1c41874faac5895bfb"
|
||||||
|
@ -21,5 +21,5 @@ regex = "0.2.2"
|
|||||||
tempdir = "0.3.5"
|
tempdir = "0.3.5"
|
||||||
unicode-width = "0.1.3"
|
unicode-width = "0.1.3"
|
||||||
|
|
||||||
[dev-dependencies.utilities]
|
[dev-dependencies]
|
||||||
path = "utilities"
|
executable-path = "1.0.0"
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
extern crate tempdir;
|
|
||||||
extern crate brev;
|
extern crate brev;
|
||||||
|
extern crate executable_path;
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
extern crate utilities;
|
extern crate tempdir;
|
||||||
|
|
||||||
|
use executable_path::executable_path;
|
||||||
use libc::{EXIT_FAILURE, EXIT_SUCCESS};
|
use libc::{EXIT_FAILURE, EXIT_SUCCESS};
|
||||||
use std::env;
|
use std::env;
|
||||||
use std::process;
|
use std::process;
|
||||||
use std::str;
|
use std::str;
|
||||||
use tempdir::TempDir;
|
use tempdir::TempDir;
|
||||||
use utilities::just_binary_path;
|
|
||||||
|
|
||||||
/// Instantiate integration tests for a given test case using
|
/// Instantiate integration tests for a given test case using
|
||||||
/// sh, dash, and bash.
|
/// sh, dash, and bash.
|
||||||
@ -54,7 +54,7 @@ fn integration_test(
|
|||||||
path.push("justfile");
|
path.push("justfile");
|
||||||
brev::dump(path, justfile);
|
brev::dump(path, justfile);
|
||||||
|
|
||||||
let output = process::Command::new(&just_binary_path())
|
let output = process::Command::new(&executable_path("just"))
|
||||||
.current_dir(tmp.path())
|
.current_dir(tmp.path())
|
||||||
.args(&["--shell", shell])
|
.args(&["--shell", shell])
|
||||||
.args(args)
|
.args(args)
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
extern crate utilities;
|
|
||||||
extern crate brev;
|
extern crate brev;
|
||||||
|
extern crate executable_path;
|
||||||
extern crate tempdir;
|
extern crate tempdir;
|
||||||
|
|
||||||
use utilities::just_binary_path;
|
|
||||||
use tempdir::TempDir;
|
use tempdir::TempDir;
|
||||||
use std::{path, str, fs, process};
|
use std::{path, str, fs, process};
|
||||||
|
use executable_path::executable_path;
|
||||||
|
|
||||||
fn search_test<P: AsRef<path::Path>>(path: P, args: &[&str]) {
|
fn search_test<P: AsRef<path::Path>>(path: P, args: &[&str]) {
|
||||||
let binary = just_binary_path();
|
let binary = executable_path("just");
|
||||||
|
|
||||||
let output = process::Command::new(binary)
|
let output = process::Command::new(binary)
|
||||||
.current_dir(path)
|
.current_dir(path)
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[package]
|
|
||||||
name = "utilities"
|
|
||||||
version = "0.0.0"
|
|
||||||
authors = ["Casey Rodarmor <casey@rodarmor.com>"]
|
|
||||||
publish = false
|
|
@ -1,14 +0,0 @@
|
|||||||
use std::env;
|
|
||||||
use std::path::PathBuf;
|
|
||||||
|
|
||||||
pub fn just_binary_path() -> PathBuf {
|
|
||||||
let mut path = env::current_exe().unwrap();
|
|
||||||
path.pop();
|
|
||||||
if path.ends_with("deps") {
|
|
||||||
path.pop();
|
|
||||||
}
|
|
||||||
let exe = String::from("just") + env::consts::EXE_SUFFIX;
|
|
||||||
path.push(exe);
|
|
||||||
path
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user