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

Adds the ability to attach ad-hoc processors to optimize #71

Open
wants to merge 35 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
bce2647
Adds basic processor
Jul 20, 2023
7c5cae6
Adds external processors
Jul 20, 2023
7303867
Adds spago yaml files
Jul 20, 2023
e3a1fa6
Adds Processors
Jul 20, 2023
5623d54
Changes directory structure
Jul 20, 2023
43f3f63
Changes ci
Jul 20, 2023
615b56d
Reorganizes dir structure
Jul 21, 2023
84df4aa
Makes flat structure
Jul 21, 2023
7e38493
Changes CI
Jul 21, 2023
26b2c57
Moves runtime
Jul 21, 2023
5c87bfc
Moves package.json to toplevel
Jul 21, 2023
fb83649
Edits package.json
Jul 21, 2023
1338b55
Adds postinstall script
Jul 21, 2023
e413513
Adds pass information
Jul 21, 2023
fbee788
Uses wildcard syntax for rimraf
Jul 21, 2023
d787fae
Removes unnecessary build step
Jul 21, 2023
01dd701
Fixes formatting
Jul 21, 2023
2481383
s/extern/processor/g
Jul 21, 2023
1faa510
Moves corefn compilation to spago.yaml files
Jul 21, 2023
00e4ec4
Gets rid of toplevel workspace
Jul 21, 2023
5365f99
Adds back processors
Jul 21, 2023
ef8e286
Updates package lock
Jul 21, 2023
8adf151
Moves processors to separate project
Jul 22, 2023
219b773
Uses old spago
Jul 22, 2023
2d0b1e3
Uses old spago
Jul 22, 2023
a340da6
Gets rid of spurious libs
Jul 22, 2023
cda2897
Adds dhall files for postinstall
Jul 22, 2023
ff81110
Fixes formatting
Jul 22, 2023
d7f2ab5
Changes processor type
Jul 22, 2023
33fcb75
Allows for rewrite from processor
Jul 22, 2023
449993b
Adds ctx to the processors
Jul 22, 2023
4cc91de
Makes go simpler
Jul 23, 2023
224f2aa
Merge branch 'main' into processors
Aug 17, 2023
ecb94b6
Adds back js target
Aug 17, 2023
d160a14
Writes processors script
Aug 17, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 3 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
${{ runner.os }}-

- name: Setup PureScript dependencies
run: npm i --global [email protected] purs-tidy@latest spago@latest purescript-psa@latest
run: npm ci

- name: Cache PureScript dependencies
uses: actions/cache@v2
Expand All @@ -44,14 +44,11 @@ jobs:
.spago
output

- name: Install dependencies
run: spago install

- name: Build project
run: spago build --purs-args '--censor-lib --strict'
run: npm run build

- name: Run snapshots
run: spago test --purs-args '--censor-lib'
run: npm t

- name: Check formatting (Linux only)
if: matrix.os == 'ubuntu-latest'
Expand Down
5 changes: 3 additions & 2 deletions backend-es/.gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
node_modules
bundle
test/test-out
output
.spago
output-es
21 changes: 0 additions & 21 deletions backend-es/LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion backend-es/index.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { dirname } from 'path';
import { fileURLToPath } from 'url';

import { main } from "../output/Main/index.js";
import { main } from "./output/Main/index.js";

const __dirname = dirname(fileURLToPath(import.meta.url));

Expand Down
Loading