Skip to content

Commit c439172

Browse files
committed
Makefile and package.json cleanup
1 parent cfb4b09 commit c439172

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ all: client server
2020

2121
.PHONY: public
2222
public:
23-
cp -r public/* out/
23+
npm run build-public
2424

2525
out/js/client.js: client/*.js
2626
npm run build-client-release

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
},
99
"scripts": {
1010
"check-env": "node -e 'console.log(process.env)'",
11-
"test": "echo \"Error: no test specified\" && exit 1",
11+
"test": "standard client/** public/js/**",
1212
"build-public": "copyfiles --up 1 public/css/* public/fonts/* public/js/* public/textures/* public/*.html out && copyfiles -f node_modules/@xterm/xterm/lib/xterm.js out/js && copyfiles -f node_modules/@xterm/addon-fit/lib/addon-fit.js out/js && copyfiles -f node_modules/@xterm/xterm/css/xterm.css out/css",
13-
"clean-public": "rimraf out/css out/fonts out/js/*dialog.js out/js/xterm.js out/textures out/*.html",
13+
"clean-public": "rimraf out/css out/fonts out/js/*dialog.js out/js/xterm.js out/js/addon-fit.js out/textures out/*.html",
1414
"build-client-debug": "browserify --debug client/main.js -o out/js/client.js",
1515
"build-client-release": "browserify client/main.js -o out/js/client.js",
1616
"clean-client": "rimraf out/js/client.js",

0 commit comments

Comments
 (0)