{"id":21647840,"url":"https://github.com/markknol/hxnew","last_synced_at":"2025-04-11T19:32:49.063Z","repository":{"id":69819697,"uuid":"71726448","full_name":"markknol/hxnew","owner":"markknol","description":"Create new Haxe projects in a blast","archived":false,"fork":false,"pushed_at":"2020-05-22T12:17:28.000Z","size":185,"stargazers_count":23,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T15:21:51.164Z","etag":null,"topics":["bootstrap","bootstrapping","haxe","project-generation","project-template","projects","tool"],"latest_commit_sha":null,"homepage":null,"language":"Haxe","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/markknol.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"patreon":"markknol","custom":["http://paypal.me/markknol"]}},"created_at":"2016-10-23T19:59:37.000Z","updated_at":"2022-03-19T12:12:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"92a664ec-b519-4f54-a598-eef9706e8d80","html_url":"https://github.com/markknol/hxnew","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhxnew","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhxnew/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhxnew/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/markknol%2Fhxnew/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/markknol","download_url":"https://codeload.github.com/markknol/hxnew/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248467129,"owners_count":21108600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","bootstrapping","haxe","project-generation","project-template","projects","tool"],"created_at":"2024-11-25T06:51:56.104Z","updated_at":"2025-04-11T19:32:49.056Z","avatar_url":"https://github.com/markknol.png","language":"Haxe","funding_links":["https://patreon.com/markknol","http://paypal.me/markknol"],"categories":[],"sub_categories":[],"readme":"# hxnew\n\n[![Build Status](https://travis-ci.org/markknol/hxnew.svg?branch=master)](https://travis-ci.org/markknol/hxnew)\n[![Haxelib Version](https://img.shields.io/github/tag/markknol/hxnew.svg?label=haxelib)](http://lib.haxe.org/p/hxnew)\n\n\u003e Create new Haxe projects in a blast!  \n\u003e This tool is meant to create a plain Haxe project. Run it once.\n\n## Installation\n\nInstall using [haxelib](http://lib.haxe.org/p/hxnew):\n\n```\nhaxelib install hxnew\n```\n\n## How to use \n\n#### `haxelib run hxnew -name MyProject`\n\nThis will create a js project with this directory structure:\n\n```\nMyProject/bin/index.html\nMyProject/src/Main.hx\nMyProject/.gitignore\nMyProject/.travis.yml\nMyProject/build.hxml\nMyProject/haxelib.json\nMyProject/makefile\nMyProject/README.md\nMyProject/release_haxelib.sh\nMyProject/MyProject.hxproj\n```\n\n#### `haxelib run hxnew -name MyProject -pack com.company.tool`\n\nThis will create a js project with same directory structure as above but the Main class located in the com.company.tool package. \n\n```\nMyProject/src/com/company/tool/Main.hx\n```\n\n#### `haxelib run hxnew -name MyProject -target neko,nodejs -lib hxargs,format`\n\nThis will create a neko + nodejs project with this directory structure:\n\n```\nMyProject/bin/\nMyProject/src/Main.hx\nMyProject/.gitignore\nMyProject/.travis.yml\nMyProject/build-neko.hxml\nMyProject/build-nodejs.hxml\nMyProject/haxelib.json\nMyProject/install.hxml\nMyProject/makefile\nMyProject/README.md\nMyProject/run-neko.hxml\nMyProject/run-nodejs.hxml\nMyProject/release_haxelib.sh\nMyProject/MyProject.hxproj\n```\n\n#### `haxelib run hxnew -name MyProject --lix`\n\nThis will create a [lix.pm](https://github.com/lix-pm/lix.client) project. It creates a package.json and requires all libraries using lix!\n\n\u003e Notes:\n\u003e * When providing a lib, an install.hxml is created. Run this to install the project dependencies.\n\u003e * The run files start the process to run the code\n\n## Command line help\n\n```\n[-name | -n] \u003cname\u003e      : Name of the project. required\n[-include | -i] \u003cpath\u003e   : Folder to include in project\n[-out] \u003cpath\u003e            : Project out folder. default: same as name\n[-src] \u003cpath\u003e            : Class path source folder. default: 'src'\n[-cp] \u003cpath\u003e             : Additional class path\n[-bin] \u003cpath\u003e            : Output folder. default: 'bin'\n[-lib | -libs] \u003clibs\u003e    : Libs used in the project, comma separate\n[-target | -t] \u003ctargets\u003e : Target languages, comma separate. Or \"all\" for all targets. Default: 'js'\n[-pack] \u003cclassPath\u003e      : Package of the entry point\n[--lix]                  : Use Lix.pm. Assumes global available `npm` command\n[--makefile]             : Generate a makefile\n[--no-haxedevelop]       : Don't generate HaxeDevelop project files\n[--no-main]              : Don't generate a Main.hx file\n[--no-readme]            : Don't generate README.md\n[--no-gitignore]         : Don't generate .gitignore\n[--no-haxelib-json]      : Don't generate a haxelib.json\n[--no-travis]            : Don't generate Travis files\n[--version | -v]         : Log version\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhxnew","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarkknol%2Fhxnew","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarkknol%2Fhxnew/lists"}