Skip to content

Commit

Permalink
Revert "Run tests in CI (#388)" (#389)
Browse files Browse the repository at this point in the history
This reverts commit 26b424a.
  • Loading branch information
matthewp authored May 18, 2022
1 parent 26b424a commit d2fd756
Show file tree
Hide file tree
Showing 9 changed files with 366 additions and 3,244 deletions.
8 changes: 0 additions & 8 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

11 changes: 0 additions & 11 deletions .github/extract-artifacts.sh

This file was deleted.

146 changes: 0 additions & 146 deletions .github/workflows/ci.yml

This file was deleted.

22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
TRANSPILE = node_modules/.bin/tsc
COMPILE = node_modules/.bin/compile

all: haunted.js web.js
.PHONY: all

lib/*.js: src/*.ts
$(TRANSPILE)
# Add ".js" extension to module imports
./sed.sh -i -E "s/from '.\/(.*?)'/from '.\/\1.js'/" lib/*.js

haunted.js: lib/*.js
$(COMPILE) -f es -o $@ -e lit-html lib/haunted.js
./sed.sh -i.bu 's/lit/https:\/\/unpkg\.com\/lit\?module/' $@
rm -f $@.bu

web.js: haunted.js
./sed.sh 's/https:\/\/unpkg\.com\/lit\?module/\.\.\/lit\/index.js/' $^ > $@

clean:
@rm -rf lib haunted.js web.js
.PHONY: clean
2 changes: 2 additions & 0 deletions core.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from './lib/core.js';
export { default } from './lib/core.js';
Loading

0 comments on commit d2fd756

Please sign in to comment.