Commit Graph

29 Commits

Author SHA1 Message Date
joneshf
a317ba5fce
Try attaching from the wowrking directory
It's unclear if this is the correct syntax.
2018-07-29 12:54:26 -07:00
joneshf
19177f0fc5
Remove accidentally added dependency 2018-07-29 12:50:11 -07:00
joneshf
b2703d5f2d
Attach the make cache
Doesn't matter if we're persisting it if we never re-attach it...
2018-07-29 12:39:26 -07:00
joneshf
c1a34f3b86
Persist the make cache
If we don't do this, the test job will try to rebuild everything.
That defeats the purpose.

Probably, we've got our Make dependencies/targets setup improprerly.
2018-07-29 12:34:55 -07:00
joneshf
2fca1f2892
Add back build target
Even though we changed the structure of the targets,
we can still make it easier on everyone if we keep the build target.
2018-07-29 12:26:42 -07:00
joneshf
aeaf909528
Typo 2018-07-29 12:24:42 -07:00
joneshf
5deb32b2c0
Separate the compile stage from testing
Might be overkill for this small of a workflow.
Good to get practice with circleci and Make.
2018-07-29 12:19:06 -07:00
joneshf
3b0f694ff3
Really fix the cabal check
I had an older version of `cabal`.
It didn't check that the `description` was longer than the `synopsis`.
The `cabal` on CI is newer.

It would be nice if everything used the same programs.
Might look into using a specific `docker` image or `nix` for this.
2018-07-29 10:12:43 -07:00
joneshf
1abae7fc5f
Cleanup Makefile
Makes most variables able to be overridden.
Simpleifies some rules.
Quiets most of the output.
2018-07-29 10:10:11 -07:00
joneshf
73e6221fb6
Use the cache to circumvent building
Since we use `stack` to run `hpack` to generate the cabal file,
we need `stack` to have its cache all setup properly.

We could eschew `hpack` to relax this requirement...
2018-07-29 09:23:13 -07:00
joneshf
d5b10959b1
Fix cabal check error 2018-07-29 09:14:10 -07:00
joneshf
d5d6d73769
Add rules for uploading to hackage
While it would be really nice to run this from CI,
The only way to upload a package involves using account-wide credentials.
We can either use a username/password, or an API token.
Both of these credentials have the same privileges,
and that's too much power to give to CI.

For now, we run this from the local machine.
Maybe we can think of another way that's a bit safer.
2018-07-29 09:14:10 -07:00
joneshf
e1dfee6745
Remove old cache keys
We simplified the cache.
These keys can go away now.
2018-07-29 09:14:10 -07:00
joneshf
103a65fbf9
Add a workflow
Since we renamed the single job from `build` to `test`,
we have to be explicit about what is supposed to happen.
2018-07-24 23:39:50 -07:00
joneshf
b078be7bc5
Simplify CI
We don't really need to have separate caches.
We fallback to the stack-root cache as it should have built most stuff.
We can remove it in a future commit.
It will have cached under the new key.

We also can call one command, and let Make figure everything out.
2018-07-24 23:28:15 -07:00
joneshf
a53fe52f09
Add a Makefile
We can make things easier on contributors if we setup a build system.
We can also make CI easier if we use Make.
2018-07-24 23:08:36 -07:00
Hardy Jones
9de1efa855
Merge pull request #3 from joneshf/joneshf-patch-1
Bump `aeson` upper bound
2018-07-24 07:10:06 -07:00
Hardy Jones
b970421bfb
Merge branch 'master' into joneshf-patch-1 2018-07-24 07:07:03 -07:00
Hardy Jones
dca09dada8
Merge pull request #7 from joneshf/joneshf-patch-2
Add circleci badge
2018-07-24 06:58:06 -07:00
Hardy Jones
fd6bee6637
Add circleci badge 2018-07-24 06:56:05 -07:00
Hardy Jones
ecf80ca64b
Merge pull request #6 from joneshf/circleci
Cache dependencies and compilation artifacts
2018-07-24 06:53:20 -07:00
joneshf
53a3786bef
Cache dependencies and compilation artifacts
Should speed up the build considerably.
2018-07-24 06:39:44 -07:00
joneshf
fe63e98993
Setup circleci
Looks like a minimal amount of stuff to get a full CI cycle going.
2018-07-24 06:12:24 -07:00
Hardy Jones
4e13046e1e
Bump aeson upper bound
Per https://github.com/commercialhaskell/stackage/issues/3393,
`aeson` is out of bounds.

To get back into stackage nightly, we need to be compatible with it.
2018-06-19 06:23:37 -07:00
joneshf
237e636e6c Bump version to 0.2.0.0 2018-02-19 01:45:06 -08:00
joneshf
11a3a2463c Fix notifier and version 2018-02-19 01:44:12 -08:00
joneshf
9876756b7d Bump version to 0.1.0.1 2018-02-18 19:48:07 -08:00
joneshf
272c5764a9 Add synopsis 2018-02-18 19:47:20 -08:00
joneshf
83a19e1750 Extract core rollbar to its own package
This is almost entirely copy-pasted from `wai-middleware-rollbar` 0.8.4.

The intent is to make the core data types available for other packages.
If this gets unweildy, move it right back.
2018-02-18 19:42:08 -08:00