Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 40 lines (30 sloc) 0.803 kB
f9f8c11 @yrashk Got rid of escriptized ./beamjs. It anyway didn't make a lot of sense…
yrashk authored
1 all: compile
09dae2e @yrashk Initial source code import (with a very primitive REPL)
yrashk authored
2
3 submodules:
4 @git submodule init
5 @git submodule update
6
7 deps/erlv8/ebin/erlv8.beam: submodules
8 @cd deps/erlv8 && make compile
9
10 dependencies: deps/erlv8/ebin/erlv8.beam
11
12 test: compile
13 @./rebar eunit
14
5cb7673 @yrashk Added assert.js (and its dependency, narwhal/util.js). Not sure how p…
yrashk authored
15 test-commonjs: compile
f86b94b @yrashk make test-commonjs works again (although few tests don't pass)
yrashk authored
16 @./beamjs -norepl -bundles node_compat commonjs -load deps/commonjs/tests/unit-testing/1.0/program.js
5cb7673 @yrashk Added assert.js (and its dependency, narwhal/util.js). Not sure how p…
yrashk authored
17
09dae2e @yrashk Initial source code import (with a very primitive REPL)
yrashk authored
18 compile: dependencies
19 @./rebar compile
44a9671 @yrashk Add release building configuration
yrashk authored
20
2223fbd @yrashk Minor fix for Makefile -- release no longer depends on compile so tha…
yrashk authored
21 release:
edb8331 @yrashk First working release
yrashk authored
22 @rm -rf rel/beamjs
23 @rm -rf rel/apps
24 @mkdir -p rel/apps/beamjs
25 @cp -R ebin rel/apps/beamjs
26 @cp -R deps/erlv8 rel/apps/
44a9671 @yrashk Add release building configuration
yrashk authored
27 @./rebar generate
edb8331 @yrashk First working release
yrashk authored
28 @rm -rf rel/apps
f96c990 @yrashk make install
yrashk authored
29
30 install: release
31 cp -R rel/beamjs /usr/local/lib
67b7a31 @yrashk Revert "On make install, don't delete installation"
yrashk authored
32 rm -f /usr/local/bin/beamjs
f96c990 @yrashk make install
yrashk authored
33 ln -s /usr/local/lib/beamjs/bin/beamjs /usr/local/bin
34 @rm -rf rel/beamjs
de45671 @yrashk Added make archive
yrashk authored
35
36 archive: release
37 @tar c -C rel beamjs > beamjs.tar
38 @gzip beamjs.tar
39 @rm -rf rel/beamjs
Something went wrong with that request. Please try again.