Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
5bb5a89
wip
1e1f Feb 27, 2017
f640f2c
version
1e1f Feb 28, 2017
aebc862
initerpolate
1e1f Mar 1, 2017
5306183
cascade or parse not merging correctly, example: {key: 0}
1e1f Mar 1, 2017
0197426
environment parsing
1e1f Mar 2, 2017
d4c6e20
plugin arch
1e1f Mar 3, 2017
282565e
plugin arch
1e1f Mar 16, 2017
e5c7e5a
abstract env tree once further
1e1f Mar 17, 2017
6792746
wip
1e1f Mar 21, 2017
be0a258
wip plugins
1e1f Mar 23, 2017
1354f19
restructure project into sub modules - 1 of . . .
1e1f Mar 31, 2017
990f0cc
split into sub projects 2 of ...
1e1f Mar 31, 2017
1c40130
split out core and file packages
1e1f Apr 2, 2017
0b0d989
wip
1e1f May 8, 2017
0761593
cmake plugin
1e1f May 14, 2017
223a1bf
wip
1e1f May 15, 2017
02c8a4b
structure tests + test db
1e1f May 16, 2017
ce63da0
finish testing of split out packages
1e1f May 17, 2017
52622dd
webpack
1e1f May 21, 2017
e5cd292
cmake types reference
1e1f May 21, 2017
e862a7e
coverage
1e1f May 22, 2017
4b945de
linter
1e1f May 22, 2017
1c40919
linter
1e1f May 22, 2017
c6fc372
ninja
1e1f May 24, 2017
670f248
npm deploy
1e1f May 24, 2017
99372f5
refactor cli to main package
1e1f Jun 3, 2017
a15f707
remove old server project
1e1f Jun 18, 2017
31bc733
moss
1e1f Jun 19, 2017
a3e8831
server
1e1f Jun 29, 2017
a8a00fc
new moss version
1e1f Jul 9, 2017
0b5b813
version
1e1f Jul 20, 2017
faf31ef
secrets
1e1f Sep 28, 2017
bfbd4a2
bin
1e1f Sep 28, 2017
c8ab130
example
1e1f Sep 28, 2017
06e1b1a
wip
1e1f Oct 20, 2017
328a6e6
tests
1e1f Jan 12, 2018
e2562a9
use local gulp
1e1f Jan 12, 2018
815486f
tjt version
1e1f Jan 12, 2018
dc4a215
tests/js-yaml
1e1f Jan 12, 2018
e7e43d7
tests
1e1f Jan 12, 2018
a8cca17
tests
1e1f Jan 12, 2018
0875e2f
move server, pass tests
1e1f Jan 13, 2018
a7a2d40
dockerignore
1e1f Jan 13, 2018
23adc35
pre-test
1e1f Jan 13, 2018
4fa9912
isOk
1e1f Jan 13, 2018
06549c7
compile zlib for arm + x64
1e1f Jan 14, 2018
7b4a097
undefined symbols
1e1f Jan 16, 2018
389f16d
default inheritance
1e1f Jan 18, 2018
b4a73aa
formalize merge method
1e1f Jan 18, 2018
33482a8
move lib cache to configuration object
1e1f Jan 20, 2018
dadfa38
tjt version
1e1f Jan 20, 2018
6fb065b
add platform in addition to architecture
1e1f Jan 22, 2018
3a2b89d
test project inherits from main project
1e1f Jan 24, 2018
6e40b8e
remove cc from linux temporarily
1e1f Jan 24, 2018
39cfa5e
broken!! ;)
1e1f Feb 10, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 3 additions & 6 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
electron
docs
examples
node_modules
secrets
server
tests
tests_cache
.DS_Store
.git
.tscache
16 changes: 2 additions & 14 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
/lib
/secrets
node_modules
.DS_Store
.tscache
.istanbul.yml
.nyc_output
.vscode
coverage/
meteor/
server/context/CMakeLists.txt
server/context/bin/
server/context/build/
server/context/trie_modules/
server/context/.idea
server/context/tmake_server.xcodeproj
server/context/Info.plist
/tests
/dist
/tests_cache
/nexe
.tmake
11 changes: 3 additions & 8 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
/.nyc_output
/src
/.vscode
/docker
/meteor
/examples
/src/*/src
/server
/nexe
/tests
/tests_cache
/test
/coverage
node_modules
11 changes: 3 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
os:
- linux
- osx
dist: trusty
language: node_js
node_js:
- '6'
- '7'
before_install:
- npm config set progress=false
script: npm run travis
script: make travis
after_script:
- cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
deploy:
provider: npm
on:
branch: release
email: structuresound@gmail.com
skip_cleanup: true
api_key:
secure: fR8zPV59CIjW3NniwReGWZ4IHDxbl4VJNjGFFsV+TwMcmOek+pYRJR58sZdZ+2E+CI0zdffa9Bd65WPHcHX3J5j00okSQXNYcASIT/8sfcQG2lQhZ7Ijz5G1v6wCJLec8WUILiylREqzBZzh3SPzW6DidNbdvNVbxpN3CKfz3yhECbtUzc5Vm4p/kwRbRhM9hVmK3Z+9amLXxpI9HG37rClhpetMhLmrdrVnQo0pSL6Rwm2EpHf9MR7evWkDmYxsd8zXHZ0XWkQJMrid2iEEuAjMUFIgejIAbM02zoCKrraQf62VhzTewLObucSYeGpfMglfwgDX9IjyVZVOwUFt+xO0aHrIA7vklh1rMxKcoUzLbcfDVvq+DPrJoP89dg7oQBPKj+d1sndaqAeEBKWuCGzyPb0Gb3gjiI4hzs0qtQZFMQXmAMOvyWOqQ/tlchalyRai8qyDqyojkRSZCb/F9oxdUtDtTDCT4UpX7QuSleyX3b5o1NoGoG3+4D4EheMhoZJsV9qTxHC5COHyqskJMdNf06fQGl2HgGeD7yzdiqtkgGKBTPW6XLG3qQUpJUBkJIYw3ActmOP8VgW2MzI76GUOfUqKlJLfXQ5PaQrl1bVqhbTDNwuEuMFACeNbFKKfHk7RurwIoJxaTZvcBRIjBUDnaAmaU4iHt5dqFGazhC0=
secure: LSfjJTmLEKnTGjKNFdOZmdGiS8AZdakZzBM5EQByYoE0Zeuh5VDHA0UiDIj17NHGDOpvV7ABaz0Tfy8v4GM0+AwzR0g7V1rIB8/IUNQLiojZTgM0SVTlRRAk6EYWD1EtR6swugSqwYFnrNvwRtxAVAEz4W6ZR4pVFII18VhqtcDo2NzB5uSfcHun8cnAgCcT9cnNiMqpM9ihb8jxfhP12AkVQFuFAyOtnFXSy4to2H2SIvUWWu0rVPrvOQaB6OwHMTeWKETQtg9Fn3Y5KnvwmA3ADdat+y31s4JqSc4JdNjSyAzt/UKhDfw3NNFpNYY5dd+00FesNnPEMZ8p6JaJdyzhF9zDtbKpy2MHJY/WuqDr1P5+eMFGvyLdu9y9O3271mML7ZxXrf7F5TVxxm9jMjKTVVbgwF6KVd3lXMNCcZ+UNbgbq43+mpG9YM9oagQhdFXIVgWXXLBd2GUXb/Ch7Lue6p5Qi/Y1cfQMW87NvoOlSBq4mD4pQ7IdBsIAi+PKCGYtWlS7uHYeUuL5sefG/sti8pljJdk5luvkUnse3cI7Y6CZYv9KJ1Cs809FXo/nDrNJqj2tPxA+lq5TtqlUVHfa/czv5nv9QcfvWVi4d8vL3EzjebIFd8r9KE25CWtCjAO5xRbRC/d3sAse65J3TuwPif2TvGvRSY6fzqD7ICc=
30 changes: 16 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,28 +1,30 @@
FROM 1e1f/tmake:base
MAINTAINER chroma <leif@chroma.io>
MAINTAINER chroma <structuresound@gmail.com>

RUN apt-get install -y runit apt-transport-https
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update && apt-get install -y yarn

ENV YARN_VERSION 0.21.3
ADD https://yarnpkg.com/downloads/$YARN_VERSION/yarn-v${YARN_VERSION}.tar.gz /opt/yarn.tar.gz
RUN yarnDirectory=/opt/yarn && \
mkdir -p "$yarnDirectory" && \
tar -xzf /opt/yarn.tar.gz -C "$yarnDirectory" && \
ln -s "$yarnDirectory/dist/bin/yarn" /usr/local/bin/ && \
rm /opt/yarn.tar.gz

RUN npm i -g mocha

COPY docker/image/ /
COPY package.json /tmake/
COPY yarn.lock /tmake/
COPY Makefile /tmake/
COPY bin/ /tmake/bin/
COPY settings/ /tmake/settings/
COPY src/ /tmake/src/
COPY tests/src /tmake/tests/src
COPY tests/package.json /tmake/tests/package.json

ENV HOME /tmake
WORKDIR /tmake
RUN yarn install --production

COPY bin/ /tmake/bin/
COPY src/ /tmake/src/
COPY lib/ /tmake/lib/
COPY test/ /tmake/test/

RUN NODE_ENV=test mocha --require source-map-support/register test/
RUN make test
RUN npm link

WORKDIR /tmake/build
ENTRYPOINT [ "/tmake/entrypoint.sh" ]
36 changes: 31 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,46 @@ dockerBase:
cd docker/base && docker build -t 1e1f/tmake:base .

tmake:
gulp scripts
docker: tmake
cd src && yarn
cd src/core && npm run distribute && npm link
cd src/cmake && npm run distribute && npm link
cd src/make && npm run distribute && npm link
cd src/cli && npm run distribute && npm link

pre-test: tmake
mkdir -p tests/.tmake/plugins
touch tests/.tmake/plugins/package.json
cd tests/.tmake/plugins && npm link tmake-plugin-cmake
cd tests/.tmake/plugins && npm link tmake-plugin-make

test: pre-test
cd tests && npm run before && npm test

coverage: pre-test
cd tests && npm run before && npm run cover

travis: coverage

docker: clean
rm -Rf tests/.tmake
docker build -t 1e1f/tmake .

docker-clean:
docker rmi 1e1f/tmake:server
docker rmi 1e1f/tmake
docker rmi 1e1f/tmake:base

server:
cd server/project && docker build -t 1e1f/tmake:server .

run:
cd server && docker compose up

clean:
docker rmi 1e1f/tmake:server
docker rmi 1e1f/tmake
docker rmi 1e1f/tmake:base
rm -Rf **/node_modules
rm -Rf **/**/node_modules
rm -Rf **/**/**/node_modules
rm -Rf server/data

install:
docker push 1e1f/tmake:base
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,5 @@ see 'warning' at the top, *update* this project is ALMOST useful now, please hol
_(Nothing yet)_

## License
Copyright (c) 2016 1e1f
Copyright (c) 2018 1e1f
Licensed under the MIT license.
1 change: 1 addition & 0 deletions bin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/dist
Loading