Skip to content

Commit af44c74

Browse files
committed
Fix make caching
1 parent a10aa25 commit af44c74

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
all: build examples
22

3-
build: bower_components node_modules
3+
build: bower npm
44
npm run build
55

6-
bower_components: node_modules
6+
bower: npm
77
npx bower --allow-root install
88

9-
node_modules:
9+
npm:
1010
npm install
1111

12-
.PHONY: build
12+
.PHONY: build bower npm all

bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
],
1010
"repository": {
1111
"type": "git",
12-
"url": "git://github.com/lumihq/purescript-react-basic.git"
12+
"url": "https://github.com/lumihq/purescript-react-basic.git"
1313
},
1414
"dependencies": {
1515
"purescript-aff": "^5.0.2",

examples/actions/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

examples/async/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

examples/component/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

examples/controlled-input/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

examples/counter/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

examples/legacy-v2/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
all: node_modules
1+
all: npm
22
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs'
33
purs bundle -m Main --main Main output/*/*.js > output/bundle.js
44
node_modules/.bin/browserify output/bundle.js -o html/index.js
55

6-
node_modules:
6+
npm:
77
npm install
88

0 commit comments

Comments
 (0)