Răsfoiți Sursa

chore/licenses (#1461)

nothingismagick 4 ani în urmă
părinte
comite
953289ca7f

+ 1 - 1
.changes/config.json

@@ -176,7 +176,7 @@
       ]
     },
     "create-tauri-app": {
-      "path": "./cli/create-tauri-app",
+      "path": "./tooling/create-tauri-app",
       "manager": "javascript",
       "dependencies": [
         "cli.js"

+ 5 - 0
.husky/pre-commit

@@ -1,4 +1,9 @@
 #!/bin/sh
+
+# Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-License-Identifier: MIT
+
 . "$(dirname "$0")/_/husky.sh"
 
 cd tooling/api

+ 5 - 0
.scripts/utils/batch_to_exe.cmd

@@ -1,4 +1,9 @@
 @ECHO OFF
+
+REM Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+REM SPDX-License-Identifier: Apache-2.0
+REM SPDX-License-Identifier: MIT
+
 ECHO Make EXE From BAT
 ECHO.
 ECHO.

+ 1 - 0
core/tauri/src/api/mod.rs

@@ -4,6 +4,7 @@
 
 //! The Tauri API interface.
 #![warn(missing_docs)]
+// #![feature(const_int_pow)]
 
 /// The App API module allows you to manage application processes.
 pub mod app;

+ 7 - 1
maskfile.md

@@ -1,8 +1,14 @@
 # Shorthand Commands
 
+<!-- 
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+-->
+
 ## prepare
 
-> Setup all stuffs needed for running the examples
+> Setup all stuff needed for running the examples
 
 ```sh
 git clone --recursive git@github.com:tauri-apps/examples.git \

+ 3 - 0
tooling/create-tauri-app/bin/create-tauri-app.js

@@ -1,4 +1,7 @@
 #!/usr/bin/env node
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
 
 const parseArgs = require("minimist");
 const inquirer = require("inquirer");

+ 1 - 1
tooling/create-tauri-app/package.json

@@ -6,7 +6,7 @@
     "create-tauri-app": "./bin/create-tauri-app.js"
   },
   "repository": "git+https://github.com/tauri-apps/tauri.git",
-  "license": "MIT",
+  "license": "MIT OR Apache-2.0",
   "bugs": {
     "url": "https://github.com/tauri-apps/tauri/issues"
   },

+ 4 - 0
tooling/create-tauri-app/src/dependency-manager.ts

@@ -1,3 +1,7 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 import { ManagementType, Result } from "./types/deps";
 import { shell } from "./shell";
 import { existsSync } from "fs";

+ 4 - 0
tooling/create-tauri-app/src/index.ts

@@ -1,3 +1,7 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 import { map, find } from "lodash";
 import { TauriBuildConfig } from "./types/config";
 import { reactjs, reactts } from "./recipes/react";

+ 4 - 0
tooling/create-tauri-app/src/shell.ts

@@ -1,3 +1,7 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 import execa from "execa";
 
 export const shell = async (

+ 4 - 0
tooling/create-tauri-app/src/types/deps.ts

@@ -1,3 +1,7 @@
+// Copyright 2019-2021 Tauri Programme within The Commons Conservancy
+// SPDX-License-Identifier: Apache-2.0
+// SPDX-License-Identifier: MIT
+
 export enum ManagementType {
   Install,
   InstallDev,