diff --git a/.gitignore b/.gitignore index 98fcc72..d7ffcad 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ *.hdp *~ _build +_packages/ +registry/ \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 2d430c2..e69de29 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +0,0 @@ -[submodule "ext/http"] - path = ext/http - url = https://github.com/dylan-lang/http diff --git a/Makefile b/Makefile deleted file mode 100644 index e71a247..0000000 --- a/Makefile +++ /dev/null @@ -1,31 +0,0 @@ -all: build - -.PHONY: build - -OPEN_DYLAN_DIR = $(realpath $(dir $(realpath $(shell which dylan-compiler)))/..) - -APP_SOURCES = $(wildcard */*.dylan) \ - $(wildcard */*.lid) - -REGISTRIES = `pwd`/registry:`pwd`/ext/http/registry - -ifeq (, $(wildcard .git)) -check-submodules: -else -check-submodules: - @for sms in `git submodule status --recursive | grep -v "^ " | cut -c 1`; do \ - if [ "$$sms" != "x" ]; then \ - echo "**** ERROR ****"; \ - echo "One or more submodules is not up to date."; \ - echo "Please run 'git submodule update --init --recursive'."; \ - exit 1; \ - fi; \ - done; -endif - -build: $(APP_SOURCES) check-submodules - OPEN_DYLAN_USER_REGISTRIES=$(REGISTRIES) dylan-compiler -build web-framework - -clean: - rm -rf _build/ - diff --git a/dylan-package.json b/dylan-package.json new file mode 100644 index 0000000..4a9ee60 --- /dev/null +++ b/dylan-package.json @@ -0,0 +1,14 @@ +{ + "category": "utilities", + "contact": "dylan-lang@googlegroups.com", + "description": "Web app utilities", + "keywords": [ "web" ], + "name": "web-framework", + "dependencies": [ + "http@1.1.2" + ], + "dev-dependencies" : [], + "license": "unknown", + "url": "https://github.com/dylan-lang/web-framework", + "version": "0.1.1" +} diff --git a/ext/http b/ext/http deleted file mode 160000 index e3e1387..0000000 --- a/ext/http +++ /dev/null @@ -1 +0,0 @@ -Subproject commit e3e1387333e91f08ed2158188e2f7c38448c60e7 diff --git a/registry/generic/web-framework b/registry/generic/web-framework deleted file mode 100644 index 5aaa285..0000000 --- a/registry/generic/web-framework +++ /dev/null @@ -1 +0,0 @@ -abstract://dylan/web-framework.lid