Skip to content

Commit

Permalink
purs: select node platform
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Aug 8, 2024
1 parent d63ffa1 commit 50cd78b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions impls/purs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ OTHER_SRCS = src/Readline.js src/Readline.purs src/Types.purs src/Reader.purs \
all: $(BINS)

$(BINS): %.js: src/%.purs $(OTHER_SRCS) node_modules/readline-sync
spago bundle-app --main $($(<:src/%=%)) --to $@
spago bundle-app --platform=node --main $($(<:src/%=%)) --to $@


node_modules/readline-sync:
Expand All @@ -32,4 +32,4 @@ stepA_mal.purs = Mal.StepA


clean:
rm -rf step*.js output/*
rm -rf step*.js output/*

0 comments on commit 50cd78b

Please sign in to comment.