Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: source -> . #173

Merged
merged 6 commits into from
Jun 11, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/cargo-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ jobs:
profile: minimal
toolchain: stable
override: true
- name: Install tarpaulin dependencies
run: |
echo "deb http://security.ubuntu.com/ubuntu xenial-security main" | sudo tee -a /etc/apt/sources.list \
&& sudo apt-get update \
&& sudo apt-get install libssl1.0.0
- uses: actions-rs/[email protected]
with:
version: '0.9.0'
Expand Down
5 changes: 1 addition & 4 deletions cli/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "whale"
version = "2.1.0-b1"
version = "2.1.0"
authors = ["Robert Yi <[email protected]>"]
edition = "2018"

Expand All @@ -16,7 +16,4 @@ serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.8"
shellexpand = "2.0.0"
skim = "0.8.2"
termion = "1.5.5"
tui = "0.12.0"
tuikit = "=0.3.3"
yaml-rust = "0.4"
4 changes: 1 addition & 3 deletions cli/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
mod tuievent;

#[macro_use]
extern crate lazy_static;
use clap::ArgMatches;
Expand Down Expand Up @@ -175,7 +173,7 @@ Fetching and rebasing local changes from github.");
let run_script_path = filesystem::get_run_script_filename();
let arguments = format!("{} {}", sql_file, warehouse_name);
let full_command = format!(
"source {} && {} {} {}",
". {} && {} {} {}",
activate_path, python_alias, run_script_path, arguments
);
let mut child = Command::new("sh").args(&["-c", &full_command]).spawn()?;
Expand Down
96 changes: 0 additions & 96 deletions cli/src/tuievent.rs

This file was deleted.

2 changes: 1 addition & 1 deletion pipelines/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setuptools.setup(
name="whale-pipelines",
version="2.l.0b1",
version="2.l.0",
author="Robert Yi",
author_email="[email protected]",
description="A pared-down metadata scraper + SQL runner.",
Expand Down