Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Commit

Permalink
Merge branch 'release/0.9.0'
Browse files Browse the repository at this point in the history
# Conflicts:
#	README.md
  • Loading branch information
smallhadroncollider committed Jan 10, 2018
2 parents e308d71 + 3511a78 commit 24b6c39
Show file tree
Hide file tree
Showing 25 changed files with 339 additions and 353 deletions.
38 changes: 35 additions & 3 deletions .bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,41 @@ fi
stack build
stack build --docker

mkdir -p "releases/$1"
mkdir -p "releases/$1/taskell/DEBIAN"
mkdir -p "releases/$1/taskell/usr/local/bin"
LINUX_DIR=$(ls .stack-work/install | grep linux)

tar -czvf "releases/$1/taskell-$1_x86-64-linux.tar.gz" ".stack-work/install/$LINUX_DIR/lts-9.13/8.0.2/bin/taskell"
tar -czvf "releases/$1/taskell-$1_x86-64-linux.tar.gz" ".stack-work/install/$LINUX_DIR/lts-9.13/8.0.2/bin/taskell" > /dev/null

tar -czvf "releases/$1/taskell-$1_x86-64-mac.tar.gz" ".stack-work/install/x86_64-osx/lts-9.13/8.0.2/bin/taskell"
tar -czvf "releases/$1/taskell-$1_x86-64-mac.tar.gz" ".stack-work/install/x86_64-osx/lts-9.13/8.0.2/bin/taskell" > /dev/null

cp ".stack-work/install/$LINUX_DIR/lts-9.13/8.0.2/bin/taskell" "releases/$1/taskell/usr/local/bin"

echo "Package: taskell
Version: $1
Maintainer: Mark Wales
Architecture: amd64
Description: A command line task manager written in Haskell" > "releases/$1/taskell/DEBIAN/control"

docker run -v "$PWD/releases/$1":/usr/src/app -w /usr/src/app debian dpkg-deb --build taskell

mv "releases/$1/taskell.deb" "releases/$1/taskell-$1_x86-64-linux.deb"
rm -rf "releases/$1/taskell"

printf "
Release Template

---------------------------------------------

- changes...

### Installation

- Mac (Homebrew): \`brew install smallhadroncollider/taskell/taskell\`
- Mac/Linux: download binary and place it in a directory in your \`\$PATH\` (e.g. \`/usr/local/bin\`)
- Debian (including Ubuntu): download the \`.deb\` file and run \`dpkg -i taskell-$1_x86-64-linux.deb\`

---------------------------------------------
"

printf "\n\nbrew install --build-bottle smallhadroncollider/taskell/taskell && brew bottle taskell\n"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
taskell.json
taskell.md
.stack-work/
releases/
homebrew-taskell/
44 changes: 18 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A CLI task manager, written in Haskell

- Tasks stored in a `json` file in the current working directory - for easy version control
- Tasks stored in a Markdown file in the current working directory - for easy version control
- Uses `vim` style key-bindings

![Demo](https://github.com/smallhadroncollider/taskell/blob/img/demo.gif?raw=true)
Expand All @@ -29,8 +29,10 @@ There are bottles (binaries) available for High Sierra and Sierra. If these are

## Running

- `taskell`: will use `taskell.json` in the cwd - offers to create if not found
- `taskell filename.json`: will use `filename.json` in the cwd - offers to create if not found
- `taskell`: will use `taskell.md` in the cwd - offers to create if not found
- `taskell filename.md`: will use `filename.md` in the cwd - offers to create if not found

Taskell also supports `.json` files: `taskell filename.json`

## Controls

Expand Down Expand Up @@ -65,32 +67,22 @@ There are bottles (binaries) available for High Sierra and Sierra. If these are

## Storage

Stores in a local `taskell.json` file:

```json
[
{
"title": "To Do",
"tasks": [
{
"description": "Do this"
}
],
},

{
"title": "Done",
"tasks": [
{
"description": "Do that"
}
]
}
]
Stores in a local `taskell.md` file:

```md
## To Do

- Do this

## Done

- Do That
```

Taskell also support `.json` files

---

## Roadmap

See [roadmap.json](https://github.com/smallhadroncollider/taskell/blob/develop/roadmap.json) for planned features
See [roadmap.md](https://github.com/smallhadroncollider/taskell/blob/develop/roadmap.md) for planned features
243 changes: 0 additions & 243 deletions roadmap.json

This file was deleted.

Loading

0 comments on commit 24b6c39

Please sign in to comment.