Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Engel Simulator 2020
Engel Simulator 2020
Commits
dcf818fc
Commit
dcf818fc
authored
Dec 05, 2020
by
Rahix
🦀
Browse files
Add README and a license
parent
fbdb2636
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
COPYING
0 → 100644
View file @
dcf818fc
This diff is collapsed.
Click to expand it.
Cargo.toml
View file @
dcf818fc
...
...
@@ -2,6 +2,7 @@
name
=
"rc3-muccc"
version
=
"0.1.0"
authors
=
[
"Rahix <rahix@rahix.de>"
]
license
=
"GPL-3.0-or-later"
edition
=
"2018"
autobins
=
false
...
...
README.md
0 → 100644
View file @
dcf818fc
# What is this?
This will at some point be a game, written in Rust, using WebAssembly.
# Hacking
-
[
Build Dependencies
](
#build-dependencies
)
-
[
Development Environment
](
#development-environment
)
-
[
Project Structure
](
#project-structure
)
## Build Dependencies
Not quite sure what the dependencies really are, please add
as you find out:
-
`rustc`
&
`cargo`
(duh ... best install them via [
`rustup`
])
-
[
`wasm-pack`
]
-
`npm`
-
(optional: [
`cargo-watch`
])
[
`wasm-pack`
]:
https://github.com/rustwasm/wasm-pack
[
`rustup`
]:
https://rustup.rs/
[
`cargo-watch`
]:
https://github.com/passcod/cargo-watch
## Development Environment
Open two shell sessions, one for the rust build and one for the webpack dev
server:
```
bash
# For the webpack dev server:
cd
www/
npm run start
# For Rust:
cargo watch
-s
"wasm-pack build"
--watch
src
# or, if you don't use cargo-watch, just run
wasm-pack build
```
Then point your browser to
`http://localhost:8080`
and start hacking! The
website will automatically reload when any changes are done to the web sources
(
`www/src/`
) or the Rust sources (
`src/`
).
## Project Structure
*TODO*
---
# License
Licensed under the GNU General Public License v3.0 (
[
COPYING
](
COPYING
)
or
<https://www.gnu.org/licenses/gpl-3.0-standalone.html>
).
## Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in the work by you, shall be licensed as above, without any
additional terms or conditions.
www/package.json
View file @
dcf818fc
...
...
@@ -8,7 +8,7 @@
"start"
:
"webpack-dev-server"
},
"author"
:
"Rahix <rahix@rahix.de>"
,
"license"
:
"
TODO
"
,
"license"
:
"
GPL-3.0-or-later
"
,
"dependencies"
:
{
"rc3-muccc"
:
"file:../pkg"
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment