Skip to content

Commit

Permalink
fix: source -> . (#173)
Browse files Browse the repository at this point in the history
* fix: source -> .

* chore: remove tui cruft to fix clippy bugs

* chore: add libssl dependencies to tarpaulin
  • Loading branch information
rsyi authored Jun 11, 2021
1 parent d3eaf7b commit a17a1e7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 104 deletions.
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

0 comments on commit a17a1e7

Please sign in to comment.