Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3: NFT (Image Tracking) + clean code + doc enhancement #742

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
551 changes: 0 additions & 551 deletions TODO.md

This file was deleted.

33 changes: 26 additions & 7 deletions aframe/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,34 @@
UGLIFY=../node_modules/.bin/uglifyjs

watch: build
fswatch -0 src/*.js ../three.js/src/*/*.js | xargs -0 -n 1 -I {} make build

.PHONY: build
build:
(cd ../three.js/ && make build)

build-default:
(cd ../three.js/ && make build-main)
cat ../three.js/build/ar.js \
src/component-*.js \
src/component-anchor.js \
src/component-hit-testing.js \
src/location-based/*.js \
src/system-arjs.js \
> build/aframe-ar.js

build-nft:
(cd ../three.js/ && make build-main-nft)
cat ../three.js/build/ar-nft.js \
src/component-anchor-nft.js \
src/component-hit-testing.js \
src/location-based/*.js \
src/system-arjs*.js \
> build/aframe-ar.js
src/system-arjs.js \
> build/aframe-ar-nft.js

build: build-default build-nft

minify: build
minify-default: build-default
$(UGLIFY) build/aframe-ar.js > build/aframe-ar.min.js

minify-nft: build-nft
$(UGLIFY) build/aframe-ar-nft.js > build/aframe-ar-nft.min.js

minify: minify-default minify-nft
4,679 changes: 4,679 additions & 0 deletions aframe/build/aframe-ar-nft.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions aframe/build/aframe-ar-nft.min.js

Large diffs are not rendered by default.

Loading