Skip to content
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
22 changes: 7 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,21 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- uses: purescript-contrib/setup-purescript@main
- uses: actions/setup-node@v7
with:
node-version: "24"

- uses: actions/setup-node@v2
- uses: purescript-contrib/setup-purescript@main
with:
node-version: "14"
spago: latest

- name: Install dependencies
run: npm install

- name: Build source (spago)
run: spago build

- name: Run tests (spago)
run: spago test

- name: Build source (pulp)
run: |
npx bower install --production
npx pulp build

- name: Run tests (pulp)
run: |
npx bower install
npx pulp test
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
node_modules
bower_components
output
.psci*
.pulp-cache
.psc-ide-port
/.spago/
package-lock.json
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# purescript-bigints

[![Latest release](http://img.shields.io/bower/v/purescript-bigints.svg)](https://github.com/sharkdp/purescript-bigints/releases)
[![Latest release](https://img.shields.io/github/v/release/purescript-contrib/purescript-bigints)](https://github.com/purescript-contrib/purescript-bigints/releases)
[![Build Status](https://github.com/sharkdp/purescript-bigints/workflows/CI/badge.svg?branch=master)](https://github.com/sharkdp/purescript-bigints/actions?query=workflow%3ACI+branch%3Amaster)
[![Maintainer: gbagan](https://img.shields.io/badge/maintainer-gbagan-teal.svg)](https://github.com/gbagan)

Expand Down Expand Up @@ -33,16 +33,17 @@ true
```

## Installation and usage
You can install this package via Bower. You will also need [BigInteger.js](https://github.com/peterolson/BigInteger.js), which can be installed via `npm`:
You can install this package via Spago. You will also need [BigInteger.js](https://github.com/peterolson/BigInteger.js), which can be installed via `npm`:
```
bower install purescript-bigints
spago install bigints
npm install big-integer
```
For the browser, remember to bundle `BigInteger.min.js` with your code.

## Development
```
bower install
npm install
spago build
spago test
```
Then, use `pulp` to build, run tests and generate the documentation.
Use `spago docs` to generate the documentation.
35 changes: 0 additions & 35 deletions bower.json

This file was deleted.

5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
"big-integer": "^1.6.51"
},
"devDependencies": {
"bower": "^1.8.12",
"pulp": "^16.0.0",
"purescript-psa": "^0.8.2",
"rimraf": "^3.0.2"
"rimraf": "^6.1.3"
},
"type": "module"
}
5 changes: 0 additions & 5 deletions packages.dhall

This file was deleted.

19 changes: 0 additions & 19 deletions spago.dhall

This file was deleted.

Loading
Loading