Skip to content

Commit

Permalink
Add licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
salihgueler committed Jul 6, 2022
1 parent bda670f commit f127bd2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 18 deletions.
22 changes: 21 additions & 1 deletion LICENSE
@@ -1 +1,21 @@
TODO: Add your license here.
The MIT License (MIT)
Copyright (c) 2022 Muhammed Salih Guler

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -14,7 +14,7 @@ The project uses:
You can either fill in the variables on your CLI:

```shell
mason make amplify_starter --project_name "AWS TODO" --project_organization "com.amplify.aws"
mason make amplify_starter --project_name "AWS Amplify Todo" --project_organization "com.example"
```

**OR**
Expand All @@ -25,9 +25,11 @@ let CLI guide you through the process
mason make amplify_starter
```

-----

> This project creates the base project for you. You are still expected to configure AWS Amplify afterwards.
>
> Once the project is created go to the `README.md` file of the generated project and follow the steps described there.
> Once the project is created go to the [README.md](https://github.com/salihgueler/amplify_starter/blob/main/__brick__/%7B%7Bproject_name%7D%7D/README.md) file of the generated project and follow the steps described there.
## Variables ✨

Expand Down
21 changes: 21 additions & 0 deletions __brick__/{{project_name}}/LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)
Copyright (c) 2022 {{project_name}}

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without restriction,
including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software,
and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
USE OR OTHER DEALINGS IN THE SOFTWARE.
17 changes: 2 additions & 15 deletions brick.yaml
@@ -1,25 +1,12 @@
name: amplify_starter
description: A highly opinionated AWS Amplify starter project with Authenticator, Amplify Datastore and bloc state management.
repository: https://github.com/salihgueler/amplify_starter

# The following defines the version and build number for your brick.
# A version number is three numbers separated by dots, like 1.2.34
# followed by an optional build number (separated by a +).
version: 0.1.0+1
version: 0.1.0

# The following defines the environment for the current brick.
# It includes the version of mason that the brick requires.
environment:
mason: ">=0.1.0-dev.26 <0.1.0"

# Variables specify dynamic values that your brick depends on.
# Zero or more variables can be specified for a given brick.
# Each variable has:
# * a type (string, number, boolean, enum, or array)
# * an optional short description
# * an optional default value
# * an optional list of default values (array only)
# * an optional prompt phrase used when asking for the variable
# * a list of values (enums only)
vars:
project_name:
type: string
Expand Down

0 comments on commit f127bd2

Please sign in to comment.