This is an automated email from the ASF dual-hosted git repository.

dingyu pushed a commit to branch v2.0.0-preview
in repository https://gitbox.apache.org/repos/asf/incubator-teaclave-sgx-sdk.git


The following commit(s) were added to refs/heads/v2.0.0-preview by this push:
     new b30876f  fix .gitignore
b30876f is described below

commit b30876fbd72641194887f0efe37a7bf25cdb6fce
Author: Yu Ding <[email protected]>
AuthorDate: Mon Mar 7 18:54:26 2022 -0800

    fix .gitignore
---
 .gitignore | 67 +++++++++++++++++++++++++++++++++++++++++++++-----------------
 1 file changed, 49 insertions(+), 18 deletions(-)

diff --git a/.gitignore b/.gitignore
index 3233540..72711c8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,38 +1,70 @@
-.idea
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Generated by Cargo
+# will have compiled files and executables
+**/target
+
+# Remove Cargo.lock from gitignore if creating an executable, leave it for 
libraries
+# More information here 
https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
 Cargo.lock
 
-#object file
+# These are backup files generated by rustfmt
+**/*.rs.bk
+
+# rust sysroot
+**/sysroot
+
+# optimized_libs
+**/optimized_libs
+
+# macos
+.DS_Store
+.idea
+
+# object file
 *.o
 
-#library
+# library
 *.a
 
-#share object
+# share object
 *.so
 *.so.*
 
-#generated proxy
+# samplecode
 samplecode/**/*_u.c
 samplecode/**/*_u.h
 samplecode/**/*_t.c
 samplecode/**/*_t.h
 samplecode/**/bin/app
+samplecode/**/bin/client
+samplecode/**/bin/server
 
-**/target
-
-#generated assembly
-third_party/ring/pregenerated
-
-#Bazel
-.clwb
-bazel-bin
-bazel-genfiles
-bazel-out
-bazel-rust-sgx-sdk
-bazel-testlogs
+# tests
+tests/**/*_u.c
+tests/**/*_u.h
+tests/**/*_t.c
+tests/**/*_t.h
+tests/**/bin/test
 
 #libunwind
 sgx_unwind/libunwind/INSTALL
+sgx_unwind/libunwind/m4/*
 sgx_unwind/libunwind/config/*
 sgx_unwind/libunwind/include/config.h.*
 sgx_unwind/libunwind/Makefile.in
@@ -40,4 +72,3 @@ sgx_unwind/libunwind/aclocal.m4
 sgx_unwind/libunwind/autom4te.cache/*
 sgx_unwind/libunwind/configure
 sgx_unwind/libunwind/src/Makefile.in
-sgx_unwind/libunwind/m4/*

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to